Just another Perl shrine | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Correct. With AutoCommit off, DBI/DBD::Pg automatically sends START TRANSACTION (or the identical BEGIN) when you do() or execute(). If you want explicit control over this, settings AutoCommit to true should work. See http://search.cpan.org/~timb/DBI-1.634/DBI.pm#AutoCommit and http://search.cpan.org/~turnstep/DBD-Pg-3.5.3/Pg.pm#AutoCommit_(boolean).
"For me, programming in Perl is like my cooking. The result may not always taste nice, but it's quick, painless and it get's food on the table."
In reply to Re^2: How to remove the warning: "there is already a transaction in progress" when using lock table
by cavac
|
|