Re: psql --quiet

From: Melvin Davidson <melvin6925(at)gmail(dot)com>
To: Leo Baltus <Leo(dot)Baltus(at)npo(dot)nl>
Cc: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: psql --quiet
Date: 2015-10-27 14:20:44
Message-ID: CANu8FiwpvcF1=Lcx1ONp3MQoZWqLyeuirvu-pPU3R=J4LW5awg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(dot)Baltus(at)npo(dot)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(at)omroep(dot)nl, 035-6773555
>
>
> --
> Sent via pgsql-general mailing list (pgsql-general(at)postgresql(dot)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.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message David Steele 2015-10-27 14:32:46 Re: psql --quiet
Previous Message Leo Baltus 2015-10-27 14:16:09 psql --quiet