avoiding CONTEXT messages

Поиск
Список
Период
Сортировка
От Filip Rembiałkowski
Тема avoiding CONTEXT messages
Дата
Msg-id CAP_rww=pq5eEMtCp6O431vMxTRSO5FfsvfMpOZf1csebVpn-bA@mail.gmail.com
обсуждение исходный текст
Ответы Re: avoiding CONTEXT messages  (Pavel Stehule <pavel.stehule@gmail.com>)
Re: avoiding CONTEXT messages  (hubert depesz lubaczewski <depesz@depesz.com>)
Список pgsql-general
Hi,

I am using PostgreSQL 9.0 and I want to suppress CONTEXT part of error message for selected user defined Pl/PgSQL functions.
Is this possible?

http://www.postgresql.org/docs/9.0/static/runtime-config-logging.html#GUC-LOG-ERROR-VERBOSITY suggests it is...
My function is running on superuser account.
I tried log_error_verbosity but it seems to not affect client messages.

create or replace function test() returns void language plpgsql as 'begin drop table if exists daddyiamnothere; end' ;
select test();
set log_error_verbosity to terse;
select test();


Thanks

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

Предыдущее
От: Inanc Seylan
Дата:
Сообщение: UDF in C slow
Следующее
От: Pavel Stehule
Дата:
Сообщение: Re: avoiding CONTEXT messages