Re: Correction for replication slot creation error message in 9.6

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: Correction for replication slot creation error message in 9.6
Дата
Msg-id 20160331141846.GA104951@alvherre.pgsql
обсуждение исходный текст
Ответ на Re: Correction for replication slot creation error message in 9.6  (Andres Freund <andres@anarazel.de>)
Ответы Re: Correction for replication slot creation error message in 9.6  (Michael Paquier <michael.paquier@gmail.com>)
Re: Correction for replication slot creation error message in 9.6  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-hackers
Andres Freund wrote:
> On 2016-03-31 10:15:21 +0900, Ian Barwick wrote:

> > Patch changes the error message to:
> > 
> >   ERROR:  replication slots can only be used if wal_level is "replica" or "logical"
> > 
> > Explicitly naming the valid WAL levels matches the wording in the wal_level
> > error hint used in a couple of places, i.e.
> 
> The explicit naming makes it much more verbose to change anything around
> wal level though, so consider me not a fan of spelling out all levels.

I thought we had agreed that we weren't going to consider the wal_level
values as a linear scale -- in other words, wordings such as "greater
than FOO" are discouraged.  That's always seemed a bit odd to me.

-- 
Álvaro Herrera                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Move PinBuffer and UnpinBuffer to atomics
Следующее
От: Alexander Korotkov
Дата:
Сообщение: Re: WIP: Access method extendability