Re: Replication slots and footguns

Поиск
Список
Период
Сортировка
От Josh Berkus
Тема Re: Replication slots and footguns
Дата
Msg-id 5320C4E7.1020803@agliodbs.com
обсуждение исходный текст
Ответ на Replication slots and footguns  (Josh Berkus <josh@agliodbs.com>)
Ответы Re: Replication slots and footguns  (Andres Freund <andres@2ndquadrant.com>)
Список pgsql-hackers
On 03/12/2014 12:34 PM, Robert Haas wrote:
>>> Urgh.  That error message looks susceptible to improvement.  How about:
>>> >>
>>> >> replication slot "%s" cannot be dropped because it is currently in use
>> >
>> > I think that'd require duplicating some code between acquire and drop,
>> > but how about "replication slot "%s" is in use by another backend"?
> Sold.

Wait ... before you go further ... I object to dropping the word
"active" from the error message.  The column is called "active", and
that's where a DBA should look; that word needs to stay in the error
message.

-- 
Josh Berkus
PostgreSQL Experts Inc.
http://pgexperts.com



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

Предыдущее
От: Josh Berkus
Дата:
Сообщение: Re: Replication slots and footguns
Следующее
От: Oleg Bartunov
Дата:
Сообщение: Re: jsonb and nested hstore