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

Поиск
Список
Период
Сортировка
От Rosser Schwarz
Тема [HACKERS] Patch: add --if-exists to pg_recvlogical
Дата
Msg-id CAFnxYwhoVnL3cxDoWXWfFzrzGWUgnFd0f2DFb0eNjPr7AvFLmQ@mail.gmail.com
обсуждение исходный текст
Ответы Re: [HACKERS] Patch: add --if-exists to pg_recvlogical  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
Hackers,

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.

Thanks,

rls

--
:wq
Вложения

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: [HACKERS] translatable string fixes
Следующее
От: Piotr Stefaniak
Дата:
Сообщение: Re: pgindent (was Re: [HACKERS] [COMMITTERS] pgsql: Preventivemaintenance in advance of pgindent run.)