Re: How disable context view in RAISE

From: Michael Fuhr <mike(at)fuhr(dot)org>
To: dknoto(at)wiml(dot)waw(dot)pl
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: How disable context view in RAISE
Date: 2005-08-19 13:55:51
Message-ID: 20050819135551.GA83819@winnie.fuhr.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Fri, Aug 19, 2005 at 10:10:41AM +0200, dknoto(at)wiml(dot)waw(dot)pl wrote:
> I have many noise messages with context view in plpgsl.
> I have to trace my procedure but I can't disable context view after
> "raise notice". How disable this feature ?

What do you mean by "context view"? Are you referring to CONTEXT
messages like the following?

test=> SELECT foo();
NOTICE: test notice
CONTEXT: PL/pgSQL function "foo" line 2 at return
foo
-------
12345
(1 row)

If so, and if you're using psql, then you can set psql's VERBOSITY
variable to silence the CONTEXT messages:

test=> \set VERBOSITY terse
test=> SELECT foo();
NOTICE: test notice
foo
-------
12345
(1 row)

If that's not what you're looking for then please provide more
information.

--
Michael Fuhr

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2005-08-19 13:56:36 Re: Stored functions
Previous Message Tom Lane 2005-08-19 13:46:39 Re: threads and transaction ...sample code and stored procedure