Re: CONTEXT messages for raise EXCEPTION

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Michael Shapiro" <mshapiro51(at)gmail(dot)com>
Cc: "Michael Fuhr" <mike(at)fuhr(dot)org>, pgsql-admin(at)postgresql(dot)org
Subject: Re: CONTEXT messages for raise EXCEPTION
Date: 2008-02-13 20:18:01
Message-ID: 22805.1202933881@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

"Michael Shapiro" <mshapiro51(at)gmail(dot)com> writes:
> The $dbh->{errorlevel} is set to 1 (default), which implies the extra
> verbosity is some setting in the server, right?
> The server log_error_verbosity is set to terse, so the server shouldn't add
> the CONTEXT.

log_error_verbosity just controls what goes into the server log.

The amount of detail shown on the client side is entirely determined by
client-side logic. If DBD::Pg hasn't got a knob that lets you suppress
the CONTEXT field, you'll need to take that up with the DBD::Pg authors.

regards, tom lane

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Jeff Frost 2008-02-13 20:46:23 Re: How much space do database objects take up in data files
Previous Message Carol Walter 2008-02-13 20:13:41 Re: How much space do database objects take up in data files