Re: Removing CONTEXT from RAISE EXCEPTION messages from triggers

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: Removing CONTEXT from RAISE EXCEPTION messages from triggers
Дата
Msg-id 1275597009-sup-4196@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: Removing CONTEXT from RAISE EXCEPTION messages from triggers  (Peter Geoghegan <peter.geoghegan86@gmail.com>)
Список pgsql-general
Excerpts from Peter Geoghegan's message of jue jun 03 16:23:07 -0400 2010:
> >
> > \set VERBOSITY terse
> >
>
> Well, I actually didn't mean through psql, but I see I can set
> verbosity though a call to PQsetErrorVerbosity().
>
> Maybe this would work better as a GUC that can be set per session?
> That way, we wouldn't have to worry about downstream driver authors
> supporting it.

This is a client setting, not a server setting, so a GUC doesn't make
much sense.  The server always sends everything.  It's up to the client
to filter according to the user's preferences.

--
Álvaro Herrera <alvherre@commandprompt.com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

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

Предыдущее
От: Peter Geoghegan
Дата:
Сообщение: Re: Removing CONTEXT from RAISE EXCEPTION messages from triggers
Следующее
От: Vick Khera
Дата:
Сообщение: Re: pgbouncer