diff options
Diffstat (limited to 'src/bin/scripts/t/091_reindexdb_all.pl')
-rw-r--r-- | src/bin/scripts/t/091_reindexdb_all.pl | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/bin/scripts/t/091_reindexdb_all.pl b/src/bin/scripts/t/091_reindexdb_all.pl new file mode 100644 index 0000000..299b198 --- /dev/null +++ b/src/bin/scripts/t/091_reindexdb_all.pl @@ -0,0 +1,19 @@ + +# Copyright (c) 2021, PostgreSQL Global Development Group + +use strict; +use warnings; + +use PostgresNode; +use Test::More tests => 2; + +my $node = get_new_node('main'); +$node->init; +$node->start; + +$ENV{PGOPTIONS} = '--client-min-messages=WARNING'; + +$node->issues_sql_like( + [ 'reindexdb', '-a' ], + qr/statement: REINDEX.*statement: REINDEX/s, + 'reindex all databases'); |