Author: turnstep
Date: Mon Mar 28 08:23:39 2011
New Revision: 14791
Modified:
DBD-Pg/trunk/t/03dbmethod.t
Log:
Rollback as Postgres HEAD doesn't allow SET .. SET
Modified: DBD-Pg/trunk/t/03dbmethod.t
==============================================================================
--- DBD-Pg/trunk/t/03dbmethod.t (original)
+++ DBD-Pg/trunk/t/03dbmethod.t Mon Mar 28 08:23:39 2011
@@ -445,6 +445,8 @@
is ($dbh->get_info(25), 'Y', $t);
$t='DB handle method "get_info" returns correct string for SQL_DATA_SOURCE_READ_ONLY when "off"';
+## Recent versions of Postgres are very fussy: must rollback
+$dbh->rollback();
$dbh->do(q{SET transaction_read_only = 'off'});
is ($dbh->get_info(25), 'N', $t);
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.