Re: Pg + perl + apache - Mailing list pgsql-general

From Greg Sabino Mullane
Subject Re: Pg + perl + apache
Date
Msg-id b3f2e99d1bed4f16a7c0b3f5f6cd3909@biglumber.com
Whole thread Raw
In response to Re: Pg + perl + apache  (Lincoln Yeoh <lyeoh@pop.jaring.my>)
List pgsql-general
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


> You probably want to do a rollback before you do stuff so that the
> transaction times are correct. AFAIK Perl DBI automatically does a
> BEGIN after a rollback or commit

This was true until very recently, but the DBD::Pg code has been
rewritten so that we no longer hang around in a transaction, but
only issue a BEGIN when we need to, e.g. right before we execute
something. This will be in version 1.32, which should be released
to CPAN in about a week.

- --
Greg Sabino Mullane greg@turnstep.com
PGP Key: 0x14964AC8 200402180653

-----BEGIN PGP SIGNATURE-----

iD8DBQFAM1I+vJuQZxSWSsgRAucWAKDXkRiHX6dJRf+y3GwPgZSZ7CvB2ACfYgnt
QLhSuv8tvIrzs6mlcLEHxOU=
=oz4E
-----END PGP SIGNATURE-----



pgsql-general by date:

Previous
From: "Mark Cubitt"
Date:
Subject: Differences between postgres and mysql
Next
From: Paul Thomas
Date:
Subject: Re: Differences between postgres and mysql