Re: Perl and AutoCommit

From: Dan Sugalski <dan(at)sidhe(dot)org>
To: Madison Kelly <linux(at)alteeve(dot)com>, postgresql <pgsql-general(at)postgresql(dot)org>
Subject: Re: Perl and AutoCommit
Date: 2005-03-27 05:59:02
Message-ID: a06210200be6bfbf72975@[192.168.0.8]
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

At 12:31 AM -0500 3/27/05, Madison Kelly wrote:
>Hi all,
>
> After looking at the postres and perl docs plus some Googling I
>can't seem to find the answer I am looking for. I hope maybe someone
>here can help. ^_^
>
> What I am trying to do is turn off autocommit for one particular
>task in my program. I realize I can turn off AutoCommit when I
>connect to the database but in this case that is not what I want to
>do. This is a one-off task.

Set the AutoCommit attribute of the database handle. Pull up the docs
for DBI and search for the "Database Handle Attributes" section.
--
Dan

--------------------------------------it's like this-------------------
Dan Sugalski even samurai
dan(at)sidhe(dot)org have teddy bears and even
teddy bears get drunk

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Yanni Chiu 2005-03-27 06:08:35 Re: Perl and AutoCommit
Previous Message Madison Kelly 2005-03-27 05:31:50 Perl and AutoCommit