pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Shapiro <mshapiro51@gmail.com>
To: pgsql-admin@postgresql.org.
Subject: CONTEXT messages for raise EXCEPTION
Date: Wed, 13 Feb 2008 11:27:16 -0600
Message-ID: <ca3a8da20802130927u1abe9c2cgf67dfe83bb159592@mail.gmail.com> (raw)

I am getting a lot of CONTEXT information along with the message when an
EXCEPTION is raised. Does anyone know what controls whether EXCEPTIONS add
the CONTEXT or not? This problem appeared recently in our server - 8.1.9/linux
- but none as far as we can tell we have not changed the configuration.
Obviously something did change, but we don't know where to look. Any help
would be appreciated.

Here is a sample error message with the CONTEXT

DBD::Pg::db do failed: ERROR:  INSERT BEFORE jobs
 CONTEXT:  SQL statement "insert into jobs (account_id, resource_id,
system_account_id, local_jobid, local_charge, submit_time, start_time,
end_time, wallduration, jobname, nodecount, processors, queue, grid_job_id)
values ( $1 ,  $2 ,  $3 ,  $4 ,  $5 ,  $6 ,  $7 ,  $8 ,  $9 ,  $10 ,  $11 ,
$12 ,  $13 ,  $14 )"

NOTE:  We are using Perl's DBI (which may or not be the cause).

view thread (5+ messages)  latest in thread

Message-ID: <ca3a8da20802130927u1abe9c2cgf67dfe83bb159592@mail.gmail.com>
Permalink:  ../ca3a8da20802130927u1abe9c2cgf67dfe83bb159592@mail.gmail.com/
Also on:    postgresql.org/message-id/ca3a8da20802130927u1abe9c2cgf67dfe83bb159592@mail.gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: mshapiro51@gmail.com, pgsql-admin@postgresql.org.
  Subject: Re: CONTEXT messages for raise EXCEPTION
  In-Reply-To: <ca3a8da20802130927u1abe9c2cgf67dfe83bb159592@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox