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

[email protected]
Newsgroups gmane.comp.db.postgresql.dbdpg.cvs
Message-ID <[email protected]>
Author: turnstep
Date: Wed Jan 20 12:01:46 2010
New Revision: 13754

Modified:
   DBD-Pg/trunk/t/03dbmethod.t

Log:
Test tweak so 8.5 works


Modified: DBD-Pg/trunk/t/03dbmethod.t
==============================================================================
--- DBD-Pg/trunk/t/03dbmethod.t	(original)
+++ DBD-Pg/trunk/t/03dbmethod.t	Wed Jan 20 12:01:46 2010
@@ -694,6 +694,13 @@
 	],
 };
 
+## Make some per-version tweaks
+
+## 8.5 changed the way foreign key names are generated
+if ($pgversion >= 80500) {
+	$correct_stats->{two}[1][5] = $correct_stats->{two}[2][5] = 'dbd_pg_test2_b_c_key';
+}
+
 my $stats;
 
 $t="Correct stats output for $table1";
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.