pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jim C. Nasby <jnasby@pervasive.com>
To: Qingqing Zhou <zhouqq@cs.toronto.edu>
Cc: pgsql-performance@postgresql.org
Subject: Re: data doesnt get saved in the database / idle in transaction
Date: Tue, 21 Mar 2006 04:05:18 -0600
Message-ID: <20060321100518.GA15742@pervasive.com> (raw)
In-Reply-To: <dvm5sb$qh6$1@news.hub.org>
References: <130df1930603200246j4bd6c6a1r7204a644795ef412@mail.gmail.com>
	<dvm5sb$qh6$1@news.hub.org>

On Mon, Mar 20, 2006 at 08:03:14PM +0800, Qingqing Zhou wrote:
> 
> ""Ksenia Marasanova"" <ksenia.marasanova@gmail.com> wrote
> >
> > The application uses persistant database connection, and when i check
> > the status of the connection, it shows: "idle in transaction".  I am
> > pretty sure that every insert is being committed with explicit
> > "commit()" . It always worked before.... weird.
> >
> 
> Try to use the following command to see what commands reach the server:
> 
>     set log_statement = "all";

I'd bet that the commits aren't making it over.
-- 
Jim C. Nasby, Sr. Engineering Consultant      jnasby@pervasive.com
Pervasive Software      http://pervasive.com    work: 512-231-6117
vcard: http://jim.nasby.net/pervasive.vcf       cell: 512-569-9461



view thread (3+ messages)

Message-ID: <20060321100518.GA15742@pervasive.com>
Permalink:  ../20060321100518.GA15742@pervasive.com/
Also on:    postgresql.org/message-id/20060321100518.GA15742@pervasive.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-performance@postgresql.org
  Cc: jnasby@pervasive.com, zhouqq@cs.toronto.edu
  Subject: Re: data doesnt get saved in the database / idle in transaction
  In-Reply-To: <20060321100518.GA15742@pervasive.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