Received: from localhost (unknown [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id 408C42E0348 for ; Wed, 13 Feb 2008 13:27:43 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-maia, port 10024) with ESMTP id 84482-02 for ; Wed, 13 Feb 2008 13:27:17 -0400 (AST) Received: from fk-out-0910.google.com (fk-out-0910.google.com [209.85.128.189]) by postgresql.org (Postfix) with ESMTP id 1C2402E014A for ; Wed, 13 Feb 2008 13:27:17 -0400 (AST) Received: by fk-out-0910.google.com with SMTP id 18so95553fks.12 for ; Wed, 13 Feb 2008 09:27:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=oIE6NJya+isqULdHTK74CS4yBnSlSsI+hxE13HHztRE=; b=i4Q0uWfzzy0y4G4DmU86yAxSLqrwoDEkaqJvX+QazMUuFXTxbUfpSRvEErQa4+hMrAeV49HJ/xbV5AxoVe8z5n2qaqooI57PwyWDOwfhQ7Q7EV1BhnsdrXDKZCh0PTxuqQ9WQLa/C380C8rHrQVbKN4tLl3d3pT/mv6nDp+iL/E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=T3NxAIiw7xV6971rXX3DyOQDzCEHOy66as83xzaTZebVINnF2fia4tecH+BX9KrGWt7SaX0N0zWvP83aHFJl9niRpUJwx5R2NhYwXiZM9OkB8NOuhhl21d9ALYedYHjdLuy/Fz7ZzvwyTKEcCby6vwYrqVl1xd2FqVypV2hqG1s= Received: by 10.82.150.20 with SMTP id x20mr343518bud.5.1202923636238; Wed, 13 Feb 2008 09:27:16 -0800 (PST) Received: by 10.82.134.20 with HTTP; Wed, 13 Feb 2008 09:27:16 -0800 (PST) Message-ID: Date: Wed, 13 Feb 2008 11:27:16 -0600 From: "Michael Shapiro" To: pgsql-admin@postgresql.org. Subject: CONTEXT messages for raise EXCEPTION MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_8199_29118226.1202923636233" X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200802/153 X-Sequence-Number: 28227 ------=_Part_8199_29118226.1202923636233 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline 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). ------=_Part_8199_29118226.1202923636233 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline 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).
------=_Part_8199_29118226.1202923636233--