pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Qingqing Zhou <zhouqq@cs.toronto.edu>
To: pgsql-performance@postgresql.org
Subject: Re: data doesnt get saved in the database / idle in transaction
Date: Mon, 20 Mar 2006 20:03:14 +0800
Message-ID: <dvm5sb$qh6$1@news.hub.org> (raw)
References: <130df1930603200246j4bd6c6a1r7204a644795ef412@mail.gmail.com>


""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";

Regards,
Qingqing





view thread (3+ messages)  latest in thread

Message-ID: <dvm5sb$qh6$1@news.hub.org>
Permalink:  ../dvm5sb$qh6$1@news.hub.org/
Also on:    postgresql.org/message-id/dvm5sb$qh6$1@news.hub.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 using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: zhouqq@cs.toronto.edu
  Subject: Re: data doesnt get saved in the database / idle in transaction
  In-Reply-To: <dvm5sb$qh6$1@news.hub.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