From: Sandeep Khandelwal <sandeep_khandelwal27@yahoo.com>
To: pgsql-interfaces@postgresql.org
Subject: PQputCopyData and Rollback/Commit
Date: Thu, 1 Feb 2007 22:32:21 -0800 (PST)
Message-ID: <301290.97125.qm@web33313.mail.mud.yahoo.com> (raw)
Hi All.
I am using PQputCopyData function to send data to server one row at a time. When I am done with the data then I call PQputCopyEnd.
I want to do rollback when any error occurs. Please help me how to achieve rollback using these functions.
Thanks,
Sandeep Khandelwal
____________________________________________________________________________________
No need to miss a message. Get email on-the-go
with Yahoo! Mail for Mobile. Get started.
http://mobile.yahoo.com/mail
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-interfaces@postgresql.org
Cc: sandeep_khandelwal27@yahoo.com
Subject: Re: PQputCopyData and Rollback/Commit
In-Reply-To: <301290.97125.qm@web33313.mail.mud.yahoo.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