Re: pgsql --echo-errors --quiet and setval

Поиск
Список
Период
Сортировка
От David G. Johnston
Тема Re: pgsql --echo-errors --quiet and setval
Дата
Msg-id CAKFQuwabDn3Op_gQdmqz2_rk_6G57kFx3p+k-yjBZv0UHUs_DQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: pgsql --echo-errors --quiet and setval  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
On Sun, Sep 10, 2023 at 10:43 AM Tom Lane <tgl@sss.pgh.pa.us> wrote:
I'm not sure whether it'd be profitable to try to build that behavior
into the scripts themselves.

Teaching it not to call "print" (or making it a no-op somehow) in a certain mode, yes, trying to redirect output it is producing, I doubt it for the reason mentioned.  It isn't difficult to add "> /dev/null" to the command line if that is what you want - no need to touch scripts given a capable enough shell.

David J.

В списке pgsql-general по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: pgsql --echo-errors --quiet and setval
Следующее
От: gzh
Дата:
Сообщение: Re: ERROR: stack depth limit exceeded