Author: turnstep
Date: Wed Jun 11 16:12:10 2008
New Revision: 11412
Modified:
DBD-Pg/trunk/Pg.pm
DBD-Pg/trunk/t/02attribs.t
Log:
Standard_conforming_strings not available via libpq in 8.2, so simply note it.
Modified: DBD-Pg/trunk/Pg.pm
==============================================================================
--- DBD-Pg/trunk/Pg.pm (original)
+++ DBD-Pg/trunk/Pg.pm Wed Jun 11 16:12:10 2008
@@ -2976,7 +2976,8 @@
=item B<pg_standard_conforming_strings> (boolean, read-only)
DBD::Pg specific attribute. Returns if the server is currently using
-standard conforming strings or not.
+standard conforming strings or not. Only available if the target
+server is version 8.2 or better.
=item B<pg_async_status> (integer, read-only)
Modified: DBD-Pg/trunk/t/02attribs.t
==============================================================================
--- DBD-Pg/trunk/t/02attribs.t (original)
+++ DBD-Pg/trunk/t/02attribs.t Wed Jun 11 16:12:10 2008
@@ -324,8 +324,8 @@
SKIP: {
- if ($pgversion < 80100) {
- skip 'Cannot test standard_conforming_strings on pre 8.1
servers', 3;
+ if ($pgversion < 80200) {
+ skip 'Cannot test standard_conforming_strings on pre 8.2
servers', 3;
}
$t=q{DB handle attribute "pg_standard_conforming_strings" returns a
valid value};