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 87462911147..395d61655f2 100755
--- a/contrib/intarray/bench/bench.pl
+++ b/contrib/intarray/bench/bench.pl
@@ -92,7 +92,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];