Perl and AutoCommit - Mailing list pgsql-general

From Madison Kelly
Subject Perl and AutoCommit
Date
Msg-id 42464546.9000004@alteeve.com
Whole thread Raw
Responses Re: Perl and AutoCommit
Re: Perl and AutoCommit
List pgsql-general
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.

   What I thought would work was:

$DB->begin_work() || die...
# a lot of transactions
$DB->commit() || die...

   But that doesn't seem to be it, either...

   Any advice would be much appreciated. Even if it's just a pointer to
the right docs with the answer that I probably missed while searching. :)

Madison

--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Madison Kelly (Digimer)
TLE-BU, The Linux Experience; Back Up
http://tle-bu.thelinuxexperience.com
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: 8.0.2 Beta Available
Next
From: "David Parker"
Date:
Subject: create or replace trigger?