PQputCopyData and Rollback/Commit

From: Sandeep Khandelwal <sandeep_khandelwal27(at)yahoo(dot)com>
To: pgsql-interfaces(at)postgresql(dot)org
Subject: PQputCopyData and Rollback/Commit
Date: 2007-02-02 06:32:21
Message-ID: 301290.97125.qm@web33313.mail.mud.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

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

Responses

Browse pgsql-interfaces by date

  From Date Subject
Next Message jp.duval 2007-02-02 13:11:18 libpq - PGexecPrepared - INT4OID binary parameter mode not working
Previous Message imad 2007-01-26 20:21:21 Re: Query regarding PostgreSQL date/time binary format for libpq