mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-10-04 19:16:51 +02:00
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
This commit is contained in:
parent
2688852a49
commit
621e8a603d
@ -64,9 +64,9 @@ $node->issues_sql_like(
|
|||||||
$node->command_fails([ 'reindexdb', '--concurrently', '-s', 'postgres' ],
|
$node->command_fails([ 'reindexdb', '--concurrently', '-s', 'postgres' ],
|
||||||
'reindex system tables concurrently');
|
'reindex system tables concurrently');
|
||||||
$node->issues_sql_like(
|
$node->issues_sql_like(
|
||||||
[ 'reindexdb', '-v', '-t', 'test1', 'postgres' ],
|
[ 'reindexdb', '--concurrently', '-v', '-t', 'test1', 'postgres' ],
|
||||||
qr/statement: REINDEX \(VERBOSE\) TABLE public\.test1;/,
|
qr/statement: REINDEX \(VERBOSE\) TABLE CONCURRENTLY public\.test1;/,
|
||||||
'reindex with verbose output');
|
'reindex with verbose output concurrently');
|
||||||
|
|
||||||
# connection strings
|
# connection strings
|
||||||
$node->command_ok([qw(reindexdb --echo --table=pg_am dbname=template1)],
|
$node->command_ok([qw(reindexdb --echo --table=pg_am dbname=template1)],
|
||||||
|
Loading…
Reference in New Issue
Block a user