Search Postgresql Archives

Re: avoiding CONTEXT messages

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2012/5/11 Filip Rembiałkowski <filip.rembialkowski@xxxxxxxxx>:
> 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?

probably no.

context is detected before filtering is applyed

Pavel


>
> 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
>

-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux