Re: How to disable displaying of a NOTICE context?

From: "Dmitry Koterov" <dmitry(at)koterov(dot)ru>
To: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: How to disable displaying of a NOTICE context?
Date: 2007-03-13 16:32:31
Message-ID: d7df81620703130932k54c57692s73fef75f6ff0bc2b@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Thanks!

With RAISE NOTICE "terse" mode works great, CONTEXT is not shown.

But does "terse" also disable CONTEXT displaying on fatal errors inside a
stored function? If it does, it is not so useful as it could be, because I
don't think that fatal error context hiding is a good idea... No
documentation about it at all.

On 3/13/07, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
>
> "Dmitry Koterov" <dmitry(at)koterov(dot)ru> writes:
> > Is there any way to disable CONTEXT displaying with still enabled
> NOTICEs
> > text?
>
> You could do "\set VERBOSITY terse"
>
> regards, tom lane
>

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Olivier Ceulemans 2007-03-13 16:36:51 Re: More information on how to understand table pg_locks.
Previous Message Richard Huxton 2007-03-13 16:29:34 Re: [GENERAL] PostgreSQL crashes on Windows 2003