On 10/27/2015 07:16 AM, 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?
test=> set client_min_messages = 'warning';
SET
test=> show client_min_messages;
client_min_messages
---------------------
warning
test=> select pg_stop_backup();
http://www.postgresql.org/docs/9.4/interactive/runtime-config-logging.html#RUNTIME-CONFIG-LOGGING-WHEN
>
> I really hate to redirect stderr to /dev/null.
>
--
Adrian Klaver
adrian.klaver@aklaver.com