Re: pg_receivexlog and replication slots - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: pg_receivexlog and replication slots
Date
Msg-id CAB7nPqTJnuA7p+NxPMoKP0Ym5Wgbot7Zj5g=uXQxD5QBBAtr5g@mail.gmail.com
Whole thread Raw
In response to Re: pg_receivexlog and replication slots  (Andres Freund <andres@2ndquadrant.com>)
Responses Re: pg_receivexlog and replication slots
List pgsql-hackers


On Thu, Oct 2, 2014 at 12:44 AM, Andres Freund <andres@2ndquadrant.com> wrote:
I pushed the first part.
Thanks. Attached is a rebased version of patch 2, implementing the actual feature. One thing I noticed with more testing is that if --create is used and that the destination folder does not exist, pg_receivexlog was creating the slot, and left with an error. This does not look user-friendly so I changed the logic a bit to check for the destination folder before creating any slot. This results in a bit of refactoring, but this way behavior is more intuitive.
Regards,
--
Michael
Attachment

pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: TAP test breakage on MacOS X
Next
From: Andrew Gierth
Date:
Subject: GiST splitting on empty pages