summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Berg2016-06-05 16:17:49 +0000
committerChristoph Berg2016-06-05 16:24:52 +0000
commit61dc82c8b4f527eb117604cba6c2cca88f777931 (patch)
tree7cc636199368d12f846b93cd7ce166bbee6fa1ca
parent167503153c984b1e3065ff498002e1243689a3ee (diff)
Fix t/02_relation_size.t for 8.4 by skipping indexes_size
-rw-r--r--t/02_relation_size.t3
1 files changed, 3 insertions, 0 deletions
diff --git a/t/02_relation_size.t b/t/02_relation_size.t
index 2825c9b9d..6ddeb8dee 100644
--- a/t/02_relation_size.t
+++ b/t/02_relation_size.t
@@ -102,6 +102,8 @@ like ($cp->run(qq{-w 1 --includeuser=$user --include=${testtbl}_index}),
#### Switch gears, and test the other size actions
for $S (qw(index_size table_size indexes_size total_relation_size)) {
+SKIP: {
+ skip "$S not supported before 9.0", 4 if ($S eq 'indexes_size' and $ver < 90000);
$result = $cp->run($S, q{-w 1});
$label = "POSTGRES_\U$S";
@@ -129,5 +131,6 @@ for $S (qw(index_size table_size indexes_size total_relation_size)) {
like ($cp->run($S, qq{-w 1 --includeuser=$user $include $exclude}),
qr|$label.*$message|, $t)
}
+}
exit;