Re: Logging option

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: Logging option
Дата
Msg-id 200204031907.g33J7f212383@candle.pha.pa.us
обсуждение исходный текст
Ответ на Logging option  ("Samuel J. Sutjiono" <ssutjiono@wc-group.com>)
Список pgsql-sql
Samuel J. Sutjiono wrote:
> Does anybody know how to prevent this message from being displayed on the screen ? (I just want this message to be
loggedin the log file). The other question is how do you control the types of error to log ? 
>
> NOTICE:  Message from PostgreSQL backend:
>         The Postmaster has informed me that some other backend  died abnormally and possibly corrupted shared memory.
>         I have rolled back the current transaction and am going to terminate your database system connection and
exit.
>         Please reconnect to the database system and repeat your query.
>
> I appreciate your help.
>

In 7.3, you will be able to suppress all WARNING messages to the client
with client_min_messages, but in 7.2.X there is no way except modifying
postgres.c.  Sorry.

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

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

Предыдущее
От: Jan Wieck
Дата:
Сообщение: Re: Update in trigger
Следующее
От: "Samuel J. Sutjiono"
Дата:
Сообщение: Re: [GENERAL] Logging option