pgsql --echo-errors --quiet and setval

Поиск
Список
Период
Сортировка
От Les
Тема pgsql --echo-errors --quiet and setval
Дата
Msg-id CAKXe9UB-zH6Tn2hbvCON8n=twcOV02UskEvB3UGGs_+nD4fYOw@mail.gmail.com
обсуждение исходный текст
Ответы 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>)
Список 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 по дате отправления:

Предыдущее
От: Adrian Klaver
Дата:
Сообщение: Re: pg_restore unexpected end of file
Следующее
От: Adrian Klaver
Дата:
Сообщение: Re: pgsql --echo-errors --quiet and setval