aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xcontrib/intarray/bench/bench.pl3
1 files changed, 2 insertions, 1 deletions
diff --git a/contrib/intarray/bench/bench.pl b/contrib/intarray/bench/bench.pl
index 4e18624b9c2..b3097a02461 100755
--- a/contrib/intarray/bench/bench.pl
+++ b/contrib/intarray/bench/bench.pl
@@ -70,7 +70,8 @@ if ( $opt{v} ) {
}
if ( $opt{e} ) {
- $dbi->do("explain $sql");
+ my @plan = map { "$_->[0]\n" } @{$dbi->selectall_arrayref("explain $sql")};
+ print @plan;
}
my $t0 = [gettimeofday];