Re: reindexdb command utlility

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: reindexdb command utlility
Дата
Msg-id 200606071720.k57HKRu09624@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: reindexdb command utlility  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-bugs
Tom Lane wrote:
> Bruce Momjian <pgman@candle.pha.pa.us> writes:
> > I thought it needed changing for consistency.  Shouldn't status messages
> > like this be INFO:
> >     test=> REINDEX DATABASE test;
> >     NOTICE:  table "pg_class" was reindexed
>
> > If I do VACUUM VERBOSE, those messages are INFO.
>
> Yeah, *only because you said VERBOSE*.  When we implemented the current
> elog level scheme, we designed INFO as non-suppressible so that it would
> mimic the previous behavior of VACUUM VERBOSE.
>
> If REINDEX had a VERBOSE option, it would make sense to put out the
> messages as INFO when VERBOSE was used.  But it doesn't (and this is
> not a request to add one).  Without VERBOSE, I think it's utterly
> unacceptable to force the messages out regardless of client_min_messages.
> NOTICE was a reasonable level, maybe LOG would be a better one.  But
> not INFO.

OK, reverted.

--
  Bruce Momjian   http://candle.pha.pa.us
  EnterpriseDB    http://www.enterprisedb.com

  + If your life is a hard drive, Christ can be your backup. +

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: reindexdb command utlility
Следующее
От: "Jim C. Nasby"
Дата:
Сообщение: Re: stopping server does not remove external_pid_file