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";

Reply via email to