Re: [GENERAL] psql --quiet

2015-10-27 Thread Leo Baltus
Op 27/10/2015 om 15:32:46 +0100, schreef David Steele: > 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

[GENERAL] psql --quiet

2015-10-27 Thread Leo Baltus
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 Intern

Re: [GENERAL] psql --quiet

2015-10-27 Thread David Steele
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

[GENERAL] psql --quiet

2015-10-27 Thread Leo Baltus
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 Intern

Re: [GENERAL] psql --quiet

2015-10-27 Thread Adrian Klaver
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 te

Re: [GENERAL] psql --quiet

2015-10-27 Thread David Steele
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';

Re: [GENERAL] psql --quiet

2015-10-27 Thread Melvin Davidson
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 wrote: > postgresql-9.4.5 > > When running pg_stop_backup() psql outputs on stderr: > > NOTICE: pg_stop_backup complete, all required WAL segments