Re: [HACKERS] Reversed sync check in pg_receivewal - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [HACKERS] Reversed sync check in pg_receivewal
Date
Msg-id 5220.1491918801@sss.pgh.pa.us
Whole thread Raw
In response to Re: [HACKERS] Reversed sync check in pg_receivewal  (Magnus Hagander <magnus@hagander.net>)
Responses Re: [HACKERS] Reversed sync check in pg_receivewal  (Magnus Hagander <magnus@hagander.net>)
List pgsql-hackers
Magnus Hagander <magnus@hagander.net> writes:
> On Tue, Apr 11, 2017 at 3:19 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> I think the patch is correct, but if there's any documentation of the
>> walmethod APIs that would allow one to assert which side of the API got
>> this wrong, I sure don't see it.  Would it be unreasonable to insist
>> on some documentation around that?

> Would you say comments in the struct in walmethods.h is enough, or were you
> thinking actual sgml docs when you commented that?

This is just internal to pg_basebackup isn't it?  I think comments in
walmethods.h would be plenty.
        regards, tom lane



pgsql-hackers by date:

Previous
From: Corey Huinker
Date:
Subject: Re: [HACKERS] Variable substitution in psql backtick expansion
Next
From: Robert Haas
Date:
Subject: Re: [HACKERS] SUBSCRIPTIONS and pg_upgrade