Re: Transaction not working.

From: Martijn van Oosterhout <kleptog(at)svana(dot)org>
To: Nadeem Akhtar <nakhtar(at)mstic(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Transaction not working.
Date: 2001-10-16 23:43:12
Message-ID: 20011017094312.B2417@svana.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Mon, Oct 15, 2001 at 06:44:44PM -0400, Nadeem Akhtar wrote:
> I'm using the C++ classes and call "Begin Work" followed by few inserts and
> I end it by a "commit". But when I check the database the records I just
> inserted don't show up.

Maybe the inserts failed?

If any error occurred during the transaction, the whole transaction would be
rolled back.

Look at the server logs.
--
Martijn van Oosterhout <kleptog(at)svana(dot)org>
http://svana.org/kleptog/
> Magnetism, electricity and motion are like a three-for-two special offer:
> if you have two of them, the third one comes free.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Bruce Momjian 2001-10-17 00:43:42 Re: Postmaster re-start problem
Previous Message Martijn van Oosterhout 2001-10-16 23:26:21 Re: