Re: How to silence psql notices, warnings, etc.?

From: "Scott Marlowe" <scott(dot)marlowe(at)gmail(dot)com>
To: "Kynn Jones" <kynnjo(at)gmail(dot)com>
Cc: "pgsql-general General" <pgsql-general(at)postgresql(dot)org>
Subject: Re: How to silence psql notices, warnings, etc.?
Date: 2008-03-16 18:53:01
Message-ID: dcc563d10803161153w41de87egca9fee9cca39a6a3@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Fri, Mar 14, 2008 at 2:28 PM, Kynn Jones <kynnjo(at)gmail(dot)com> wrote:
> Hi!
>
> How does one silence NOTICE and WARNING messages in psql? I've tried \set
> QUIET on, \set VERBOSITY terse, and even \o /dev/null, but I still get them!

If you start postgresql from the pg_ctl command line and it's set to
log to stdout, then continue to use that terminal for psql afterwards,
you will continue to get the warnings and notices because they're
coming out of the postmaster to the terminal you're on.

It's happened to me in the past.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Karl Denninger 2008-03-16 19:02:10 Re: Redundant file server for postgres
Previous Message Craig Ringer 2008-03-16 18:33:35 Re: Redundant file server for postgres