Author: turnstep
Date: Fri Jan 18 07:37:21 2008
New Revision: 10606
Modified:
DBD-Pg/trunk/t/03dbmethod.t
Log:
Adjust hash index size for early versions of 8.1
Modified: DBD-Pg/trunk/t/03dbmethod.t
==============================================================================
--- DBD-Pg/trunk/t/03dbmethod.t (original)
+++ DBD-Pg/trunk/t/03dbmethod.t Fri Jan 18 07:37:21 2008
@@ -544,6 +544,11 @@
],
};
+ ## Early versions of 8.1 have a difference in hash index pages, which I
think was corrected in 8.1.5:
+ if ($pgversion =~ /8.1.[01234]/) {
+ $correct_stats->{three}[5][11] = 0;
+ }
+
my $stats;
$sth = $dbh->statistics_info(undef,$schema,$table1,undef,undef);