Re: psql --quiet - Mailing list pgsql-general

From Melvin Davidson
Subject Re: psql --quiet
Date
Msg-id CANu8FiwpvcF1=Lcx1ONp3MQoZWqLyeuirvu-pPU3R=J4LW5awg@mail.gmail.com
Whole thread Raw
In response to psql --quiet  (Leo Baltus <Leo.Baltus@npo.nl>)
List pgsql-general
The only other option would be to redirect to a file.
EG:

psql -q --o some_file_to_send_output_to.log

On Tue, Oct 27, 2015 at 10:16 AM, Leo Baltus <Leo.Baltus@npo.nl> wrote:
postgresql-9.4.5

When running pg_stop_backup() psql outputs on stderr:

NOTICE:  pg_stop_backup complete, all required WAL segments have been archived

--quiet does not seem to suppress it, what does?

I really hate to redirect stderr to /dev/null.

--
Leo Baltus, internetbeheerder
NPO ICT Internet Services
Bart de Graaffweg 2, 1217 ZL Hilversum
servicedesk@omroep.nl, 035-6773555


--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general



--
Melvin Davidson
I reserve the right to fantasize.  Whether or not you
wish to share my fantasy is entirely up to you.

pgsql-general by date:

Previous
From: Leo Baltus
Date:
Subject: psql --quiet
Next
From: David Steele
Date:
Subject: Re: psql --quiet