Re: [HACKERS] Patch: add --if-exists to pg_recvlogical

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: [HACKERS] Patch: add --if-exists to pg_recvlogical
Дата
Msg-id CA+TgmoZ98U2UddPo+zqnGOf=jL_0crZcSph6cfAgQdF70-3BGw@mail.gmail.com
обсуждение исходный текст
Ответ на [HACKERS] Patch: add --if-exists to pg_recvlogical  (Rosser Schwarz <rosser.schwarz@gmail.com>)
Ответы Re: [HACKERS] Patch: add --if-exists to pg_recvlogical  (Rosser Schwarz <rosser.schwarz@gmail.com>)
Список 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 по дате отправления:

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: [HACKERS] Crash on promotion when recovery.conf is renamed
Следующее
От: Tom Lane
Дата:
Сообщение: [HACKERS] Release plans: near-term update releases, and 10.0