diff options
author | Michael Paquier <michael@paquier.xyz> | 2021-03-02 13:19:11 +0900 |
---|---|---|
committer | Michael Paquier <michael@paquier.xyz> | 2021-03-02 13:19:11 +0900 |
commit | 0f1b0c0b60ef7b56bbccacd4307fdda8afa1a59b (patch) | |
tree | 59ff93ebf99e7edf5c16aec1b2cc96062259d7a8 /src/bin/scripts | |
parent | 262eb990c72097bd804e5c747fe38bf9b3a1ded9 (diff) | |
download | postgresql-0f1b0c0b60ef7b56bbccacd4307fdda8afa1a59b.tar.gz postgresql-0f1b0c0b60ef7b56bbccacd4307fdda8afa1a59b.zip |
Fix duplicated test case in TAP tests of reindexdb
The same test for REINDEX (VERBOSE) was done twice, while it is clear
that the second test should use --concurrently. Issue introduced in
5dc92b8, for what looks like a copy-paste mistake.
Reviewed-by: Mark Dilger
Discussion: https://postgr.es/m/A7AE97EA-F4B0-4CAB-8FFF-3FECD31F9D63@enterprisedb.com
Backpatch-through: 12
Diffstat (limited to 'src/bin/scripts')
-rw-r--r-- | src/bin/scripts/t/090_reindexdb.pl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/bin/scripts/t/090_reindexdb.pl b/src/bin/scripts/t/090_reindexdb.pl index 1af8ab70ad9..a5e8ceb901f 100644 --- a/src/bin/scripts/t/090_reindexdb.pl +++ b/src/bin/scripts/t/090_reindexdb.pl @@ -64,9 +64,9 @@ $node->issues_sql_like( $node->command_fails([ 'reindexdb', '--concurrently', '-s', 'postgres' ], 'reindex system tables concurrently'); $node->issues_sql_like( - [ 'reindexdb', '-v', '-t', 'test1', 'postgres' ], - qr/statement: REINDEX \(VERBOSE\) TABLE public\.test1;/, - 'reindex with verbose output'); + [ 'reindexdb', '--concurrently', '-v', '-t', 'test1', 'postgres' ], + qr/statement: REINDEX \(VERBOSE\) TABLE CONCURRENTLY public\.test1;/, + 'reindex with verbose output concurrently'); # connection strings $node->command_ok([qw(reindexdb --echo --table=pg_am dbname=template1)], |