Search Postgresql Archives

Re: psql too noisy

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux