Perl and AutoCommit

Поиск
Список
Период
Сортировка
От Madison Kelly
Тема Perl and AutoCommit
Дата
Msg-id 42464546.9000004@alteeve.com
обсуждение исходный текст
Ответы Re: Perl and AutoCommit  (Dan Sugalski <dan@sidhe.org>)
Re: Perl and AutoCommit  (Ragnar Hafstað <gnari@simnet.is>)
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: 8.0.2 Beta Available
Следующее
От: "David Parker"
Дата:
Сообщение: create or replace trigger?