Re: Removing CONTEXT from RAISE EXCEPTION messages from triggers

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Peter Geoghegan <peter(dot)geoghegan86(at)gmail(dot)com>
Cc: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>, PGSQL Mailing List <pgsql-general(at)postgresql(dot)org>
Subject: Re: Removing CONTEXT from RAISE EXCEPTION messages from triggers
Date: 2010-06-03 20:30:53
Message-ID: 1275597009-sup-4196@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Excerpts from Peter Geoghegan's message of jue jun 03 16:23:07 -0400 2010:
> >
> > \set VERBOSITY terse
> >
>
> Well, I actually didn't mean through psql, but I see I can set
> verbosity though a call to PQsetErrorVerbosity().
>
> Maybe this would work better as a GUC that can be set per session?
> That way, we wouldn't have to worry about downstream driver authors
> supporting it.

This is a client setting, not a server setting, so a GUC doesn't make
much sense. The server always sends everything. It's up to the client
to filter according to the user's preferences.

--
Álvaro Herrera <alvherre(at)commandprompt(dot)com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Vick Khera 2010-06-03 20:33:46 Re: pgbouncer
Previous Message Peter Geoghegan 2010-06-03 20:23:07 Re: Removing CONTEXT from RAISE EXCEPTION messages from triggers