Re: pgsql: Rationalize GetWalRcv{Write,Flush}RecPtr(). - Mailing list pgsql-hackers

From Thomas Munro
Subject Re: pgsql: Rationalize GetWalRcv{Write,Flush}RecPtr().
Date
Msg-id CA+hUKGLTEXkr+Q_APSC7jhifOSib8J2cT4FzJzQ4G2viyt3Qpg@mail.gmail.com
Whole thread Raw
In response to Re: pgsql: Rationalize GetWalRcv{Write,Flush}RecPtr().  (Alvaro Herrera <alvherre@2ndquadrant.com>)
List pgsql-hackers
On Thu, Apr 16, 2020 at 9:24 AM Alvaro Herrera <alvherre@2ndquadrant.com> wrote:
> On 2020-Apr-09, Alvaro Herrera wrote:
> > It seems worth pointing out that the new GetWalRcvWriteRecPtr function
> > has a different signature from the original one -- so any third-party
> > code using the original function will now get a compile failure that
> > should alert them that they need to change their code to call
> > GetWalRcvFlushRecPtr instead.  Maybe we should add a line or two in the
> > comments GetWalRcvWriteRecPtr to make this explicit.
>
> After using codesearch.debian.net and finding no results, I decided that
> this is not worth the effort.

Thanks for checking.  Yeah, it looks like you're right.
codesearch.debian.net is cool.



pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Rotten parts of src/backend/replication/README
Next
From: Fujii Masao
Date:
Subject: Re: SLRU statistics