Re: cannot drop replication slot if server is running in single-user mode

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: cannot drop replication slot if server is running in single-user mode
Дата
Msg-id 25024.1525789919@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: cannot drop replication slot if server is running in single-user mode  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
Robert Haas <robertmhaas@gmail.com> writes:
> On Thu, Mar 29, 2018 at 5:51 PM, Andres Freund <andres@anarazel.de> wrote:
>> I'm not sure we need to do anything about this, personally. This seems
>> like a fairly rare thing to do in a mode that's definitely not intended
>> to be general purpose.

> Mmmph.  I don't really think it's possible to view a user-visible
> EBADF as anything other than a coding error.

If we think this is worth spending any code at all on, what I'd suggest
is to reject replication-related commands at some early stage if not
IsUnderPostmaster.

            regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Cast jsonb to numeric, int, float, bool
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: cannot drop replication slot if server is running in single-usermode