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

From David Steele
Subject Re: psql --quiet
Date
Msg-id 562F8B0E.4030106@pgmasters.net
Whole thread Raw
In response to psql --quiet  (Leo Baltus <Leo.Baltus@npo.nl>)
Responses Re: psql --quiet
Re: psql --quiet
List pgsql-general
On 10/27/15 3:16 PM, Leo Baltus 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?

This should work:

set client_min_messages='warning';

This must be done in the same session as the pg_start_backup().

--
-David
david@pgmasters.net


pgsql-general by date:

Previous
From: Melvin Davidson
Date:
Subject: Re: psql --quiet
Next
From: Adrian Klaver
Date:
Subject: Re: psql --quiet