Re: Autocommit in libpq

From: Heikki Linnakangas <heikki(at)enterprisedb(dot)com>
To: "Dengler, Michael" <Michael_Dengler(at)tvworks(dot)com>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: Autocommit in libpq
Date: 2007-03-13 15:15:28
Message-ID: 45F6C010.3000207@enterprisedb.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

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

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Joshua D. Drake 2007-03-13 15:29:00 Re: Autocommit in libpq
Previous Message Tom Lane 2007-03-13 15:06:13 Re: Execution plan changed after upgrade from 7.3.9 to 8.2.3