Re: debug_level 0 does not stop debug messages

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: debug_level 0 does not stop debug messages
Дата
Msg-id 7851.989352824@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: debug_level 0 does not stop debug messages  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-bugs
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> OK, I did a little research on this.  It turns out that this code in
> vacuum.c:

>     if (vacstmt->verbose)
>         MESSAGE_LEVEL = NOTICE;
>     else
>         MESSAGE_LEVEL = DEBUG;

> controls whether the message comes out as a NOTICE or a DEBUG.  My guess
> is that you are doing a VACUUM VERBOSE, and those are coming out in the
> server logs.

> Guys, is this the proper way to handle this?

It could probably be done better, but VACUUM has behaved like that for
quite a few years now.  I don't see any need to change it until we have
a complete redesign of message handling in mind.  Peter E. has muttered
about some ideas in that line...

            regards, tom lane

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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: debug_level 0 does not stop debug messages
Следующее
От: pgsql-bugs@postgresql.org
Дата:
Сообщение: PostgreSQL 7.1.1: Backend crash when calling plpgsql function