pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ksenia Marasanova <ksenia.marasanova@gmail.com>
To: pgsql-performance@postgresql.org
Subject: data doesnt get saved in the database / idle in transaction
Date: Mon, 20 Mar 2006 11:46:11 +0100
Message-ID: <130df1930603200246j4bd6c6a1r7204a644795ef412@mail.gmail.com> (raw)

Hi,

I have a  strange problem with my Postgres application. The problem is
that the data entered in the application never reaches the database,
although the record id (serial) is generated, and the record can be
retrieved again, and be modified. Multiple records can be added and
modified. But when i check the data with psql, the record is not
there.
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.

thanks for any hints
Ksenia.



view thread (3+ messages)  latest in thread

Message-ID: <130df1930603200246j4bd6c6a1r7204a644795ef412@mail.gmail.com>
Permalink:  ../130df1930603200246j4bd6c6a1r7204a644795ef412@mail.gmail.com/
Also on:    postgresql.org/message-id/130df1930603200246j4bd6c6a1r7204a644795ef412@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-performance@postgresql.org
  Cc: ksenia.marasanova@gmail.com
  Subject: Re: data doesnt get saved in the database / idle in transaction
  In-Reply-To: <130df1930603200246j4bd6c6a1r7204a644795ef412@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