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

From David Steele
Subject Re: psql --quiet
Date
Msg-id 562F8C6E.4060205@pgmasters.net
Whole thread Raw
In response to Re: psql --quiet  (David Steele <david@pgmasters.net>)
List pgsql-general
On 10/27/15 3:32 PM, David Steele wrote:
> 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().

Ugh, pg_stop_backup() rather.

--
-David
david@pgmasters.net


pgsql-general by date:

Previous
From: Adrian Klaver
Date:
Subject: Re: psql --quiet
Next
From: Leo Baltus
Date:
Subject: psql --quiet