pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Fuhr <mike@fuhr.org>
To: Gourish Singbal <gourish@gmail.com>
Cc: PostgreSQL Admin <pgsql-admin@postgresql.org>
Subject: Re: ERROR: 40P01:
Date: Thu, 17 Feb 2005 08:51:38 -0700
Message-ID: <20050217155138.GA26078@winnie.fuhr.org> (raw)
In-Reply-To: <674d1f8a0502170354692cca73@mail.gmail.com>
References: <674d1f8a0502170354692cca73@mail.gmail.com>

On Thu, Feb 17, 2005 at 05:24:10PM +0530, Gourish Singbal wrote:

> I got the below ERROR in my log file. Where can i get more info no
> what exactly caused this ERROR and how to debug it?.
> 
> 2005-02-17 02:23:09 ERROR:  40P01: deadlock detected
> 2005-02-17 02:23:09 ERROR:  25P02: current transaction is aborted,
> commands ignored until end of transaction block

Application code must be failing somewhere -- aren't you seeing
those problems?  Or do the applications not perform enough error
checking and reporting?

On the server side, if you're running 7.3 or later then you could
use log_min_error_statement.  See the "Run-time Configuration"
section in the "Server Run-time Environment" chapter of the
documentation, in particular "Error Reporting and Logging" (or
"Logging and Debugging," depending on the version).

-- 
Michael Fuhr
http://www.fuhr.org/~mfuhr/



view thread (4+ messages)  latest in thread

Message-ID: <20050217155138.GA26078@winnie.fuhr.org>
Permalink:  ../20050217155138.GA26078@winnie.fuhr.org/
Also on:    postgresql.org/message-id/20050217155138.GA26078@winnie.fuhr.org

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: mike@fuhr.org, gourish@gmail.com
  Subject: Re: ERROR: 40P01:
  In-Reply-To: <20050217155138.GA26078@winnie.fuhr.org>
  References: <674d1f8a0502170354692cca73@mail.gmail.com> <20050217155138.GA26078@winnie.fuhr.org>

* 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