Re: BUG #5656: parameter 'client_min_messages' accept values not listed in enumvals

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: BUG #5656: parameter 'client_min_messages' accept values not listed in enumvals
Дата
Msg-id 201009141812.o8EICBK27530@momjian.us
обсуждение исходный текст
Ответ на Re: BUG #5656: parameter 'client_min_messages' accept values not listed in enumvals  (Euler Taveira de Oliveira <euler@timbira.com>)
Ответы Re: BUG #5656: parameter 'client_min_messages' accept values not listed in enumvals  (Euler Taveira de Oliveira <euler@timbira.com>)
Список pgsql-bugs
Euler Taveira de Oliveira wrote:
> Tom Lane escreveu:
> > "thommy" <der.thommy@gmx.net> writes:
> >> I just came across a small inconsistency:
> >
> >> pg=# select enumvals from pg_settings where name='client_min_messages';
> >>                            enumvals
> >> ---------------------------------------------------------------
> >>  {debug5,debug4,debug3,debug2,debug1,log,notice,warning,error}
> >
> > It's intentional that PANIC isn't listed there (nor is FATAL),
> > on the grounds that it's not really a useful setting.
> >
> Fine. But shouldn't we remove these options from docs and/or code?

We are basically reusing the same validation code for this and other
min_messages settings.  Is it worth creating a custom one just for
client_min_messages?  Probably not.

--
  Bruce Momjian  <bruce@momjian.us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

  + It's impossible for everything to be true. +

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

Предыдущее
От: Euler Taveira de Oliveira
Дата:
Сообщение: Re: BUG #5656: parameter 'client_min_messages' accept values not listed in enumvals
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: BUG #5657: wrong entry in sql_features