[svn:DBD-Pg] r12691 - DBD-Pg/trunk/t

[email protected]
Newsgroups gmane.comp.db.postgresql.dbdpg.cvs
Message-ID <[email protected]>
Author: turnstep
Date: Mon Apr 13 18:56:07 2009
New Revision: 12691

Modified:
   DBD-Pg/trunk/t/02attribs.t

Log:
Tweak new SQLSTATE output.


Modified: DBD-Pg/trunk/t/02attribs.t
==============================================================================
--- DBD-Pg/trunk/t/02attribs.t	(original)
+++ DBD-Pg/trunk/t/02attribs.t	Mon Apr 13 18:56:07 2009
@@ -1586,9 +1586,9 @@
 			$t=qq{Ping fails after the child has exited ("InactiveDestroy" = $destroy)};
 			is ( $dbh->ping(), 0, $t);
 
-			$t='Failed ping returns a SQLSTATE code of 22000';
+			$t='Failed ping returns a SQLSTATE code of 08000';
 			my $state = $dbh->state();
-			is ($state, '22000', $t);
+			is ($state, '08000', $t);
 
 			$t=qq{pg_ping gives an error code of -2 after the child has exited ("InactiveDestroy" = $destroy)};
 			is ( $dbh->pg_ping(), -2,$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.