Re: [HACKERS] Patch: add --if-exists to pg_recvlogical - Mailing list pgsql-hackers

From Robert Haas
Subject Re: [HACKERS] Patch: add --if-exists to pg_recvlogical
Date
Msg-id CA+TgmoZ98U2UddPo+zqnGOf=jL_0crZcSph6cfAgQdF70-3BGw@mail.gmail.com
Whole thread Raw
In response to [HACKERS] Patch: add --if-exists to pg_recvlogical  (Rosser Schwarz <rosser.schwarz@gmail.com>)
Responses Re: [HACKERS] Patch: add --if-exists to pg_recvlogical
List pgsql-hackers
On Sun, May 21, 2017 at 3:04 PM, Rosser Schwarz
<rosser.schwarz@gmail.com> wrote:
> While doing some scripting around pg_recvlogical at $work, I found a need
> for $subject. Attached, find a patch to that effect.
>
> I tried simply to mirror the logic used elsewhere. I don't think there's
> anything controversial here, but welcome any comments or suggestions.
>
> This applies and builds successfully against master, and behaves as designed
> (i.e., dropping or trying to stream from a nonexistent slot exits cleanly).
> It doesn't affect any other behavior I could observe.
>
> If accepted, this will likely need a pgindent run upon merging; I had to
> give up on the rabbit hole of getting that working locally.

Please add this to commitfest.postgresql.org

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: [HACKERS] Crash on promotion when recovery.conf is renamed
Next
From: Tom Lane
Date:
Subject: [HACKERS] Release plans: near-term update releases, and 10.0