View Single Post

   
  #2 (permalink)  
Old 04-19-2008, 09:23 AM
Heikki Linnakangas
 
Posts: n/a
Default Re: Autocommit in libpq

Dengler, Michael wrote:
> Please forgive me if I missed something (I have been searching for a definitive answer for this for 2 days).
>
> Is there any way to disable autocommit in libpq? (PG 7.4.1)


Just call BEGIN to start a transaction, and COMMIT to commit it. Other
than that, no.

--
Heikki Linnakangas
EnterpriseDB http://www.enterprisedb.com

---------------------------(end of broadcast)---------------------------
TIP 7: You can help support the PostgreSQL project by donating at

http://www.postgresql.org/about/donate

Reply With Quote