Re: turning off notices

Поиск
Список
Период
Сортировка
От Stephan Szabo
Тема Re: turning off notices
Дата
Msg-id 20080119081329.D59808@megazone.bigpanda.com
обсуждение исходный текст
Ответ на turning off notices  ("Sue Fitt" <sfitt@fittconway.plus.com>)
Список pgsql-general
On Sat, 19 Jan 2008, Sue Fitt wrote:

> Hi All,
>
> I'm having trouble with turning off notices. Within psql I use \set
> VERBOSITY terse, which is fine. However, using psql -c I am having
> trouble. It seems I should be able to use psql -qc 'mycommand' but I am
> still getting notices output, e.g.
>
> psql -d combilex -qc 'SELECT * FROM show(1135311);'
> NOTICE:  phonotactic error, please check transcription
> CONTEXT:  SQL statement "SELECT etc....
>
> Is there a way to turn these notices off other than reconfiguring the
> conf file and restarting the database? I am using 8.1.3.

If you want no notices, you could try "set client_min_messages TO
WARNING".

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

Предыдущее
От: "Sue Fitt"
Дата:
Сообщение: Re: turning off notices
Следующее
От: Tom Lane
Дата:
Сообщение: Re: WARNINGs after starting backup server created with PITR