psql too noisy

From: Marc Evans <Marc(at)SoftwareHackery(dot)Com>
To: pgsql-general(at)postgresql(dot)org
Subject: psql too noisy
Date: 2006-12-19 15:14:55
Message-ID: 20061219101005.J47556@me.softwarehackery.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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.

I have tried -q and -v VERBOSITY='terse' with no observed effect.

Thanks in advance - Marc

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Bernd Helmle 2006-12-19 15:16:12 Re: Savepoints in PL/pgSQL
Previous Message Magnus Hagander 2006-12-19 15:10:52 Re: Let's play bash the search engine