pgsql --echo-errors --quiet and setval - Mailing list pgsql-general

From Les
Subject pgsql --echo-errors --quiet and setval
Date
Msg-id CAKXe9UB-zH6Tn2hbvCON8n=twcOV02UskEvB3UGGs_+nD4fYOw@mail.gmail.com
Whole thread Raw
Responses Re: pgsql --echo-errors --quiet and setval  (Adrian Klaver <adrian.klaver@aklaver.com>)
Re: pgsql --echo-errors --quiet and setval  ("David G. Johnston" <david.g.johnston@gmail.com>)
List pgsql-general

  Dear fellow PostgreSQL users,

Today I caught this with postgresql v15, while restoring a database with psql  --echo-errors --quiet. (The dump was made using pg_dump -Fp).

It logged lots of these messages:

 setval
--------
   1001
(1 row)

In other words, it logs **some** things that are not errors, even though --quiet was specified. Is this the expected behaviour? I would argue that with --quiet --echo-errors, only errors should be logged, and setting the value of a sequence is not an error.

Thank you,

    Laszlo

pgsql-general by date:

Previous
From: Adrian Klaver
Date:
Subject: Re: pg_restore unexpected end of file
Next
From: Adrian Klaver
Date:
Subject: Re: pgsql --echo-errors --quiet and setval