Re: psql too noisy

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: psql too noisy
Дата
Msg-id 20061219151934.GM27098@alvh.no-ip.org
обсуждение исходный текст
Ответ на psql too noisy  (Marc Evans <Marc@SoftwareHackery.Com>)
Список pgsql-general
Marc Evans wrote:
> Hello -
>
> Can anyone suggest a way to suppress all STDOUT/STDERR output by the psql
> utility, except for >= ERROR level messages? In particular, I am trying
> to suppress NOTICE level messages. The purpose behind this is so that when
> a lengthy script is fed to psql to build a virgin DB, the many NOTICE
> lines output about things like "implicit sequence" and "implicit index"
> are suppressed.

Set client_min_messages to WARNING.

--
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

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

Предыдущее
От: Bernd Helmle
Дата:
Сообщение: Re: Savepoints in PL/pgSQL
Следующее
От: Richard Broersma Jr
Дата:
Сообщение: Re: feature request for Postgresql Rule system.