Re: [GENERAL] avoiding CONTEXT messages

2012-05-11 Thread Filip Rembiałkowski
On Fri, May 11, 2012 at 9:41 AM, hubert depesz lubaczewski < dep...@depesz.com> wrote: > On Fri, May 11, 2012 at 09:09:46AM -0500, Filip Rembiałkowski wrote: > > I am using PostgreSQL 9.0 and I want to suppress CONTEXT part of error > > message for selected user defined Pl/PgSQL functions. > > Is

Re: [GENERAL] avoiding CONTEXT messages

2012-05-11 Thread hubert depesz lubaczewski
On Fri, May 11, 2012 at 09:09:46AM -0500, Filip Rembiałkowski wrote: > 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? it's up to application to hide it. for example - in psql, you do it by setting:

Re: [GENERAL] avoiding CONTEXT messages

2012-05-11 Thread Pavel Stehule
2012/5/11 Filip Rembiałkowski : > 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

[GENERAL] avoiding CONTEXT messages

2012-05-11 Thread Filip Rembiałkowski
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-VERBOSITYsuggests it is... My function is running on superuser acc