Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 621e8a6

Browse filesBrowse files
committed
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
1 parent 2688852 commit 621e8a6
Copy full SHA for 621e8a6

File tree

Expand file treeCollapse file tree

1 file changed

+3
-3
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+3
-3
lines changed

‎src/bin/scripts/t/090_reindexdb.pl

Copy file name to clipboardExpand all lines: src/bin/scripts/t/090_reindexdb.pl
+3-3Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,9 @@
6464
$node->command_fails([ 'reindexdb', '--concurrently', '-s', 'postgres' ],
6565
'reindex system tables concurrently');
6666
$node->issues_sql_like(
67-
[ 'reindexdb', '-v', '-t', 'test1', 'postgres' ],
68-
qr/statement: REINDEX \(VERBOSE\) TABLE public\.test1;/,
69-
'reindex with verbose output');
67+
[ 'reindexdb', '--concurrently', '-v', '-t', 'test1', 'postgres' ],
68+
qr/statement: REINDEX \(VERBOSE\) TABLE CONCURRENTLY public\.test1;/,
69+
'reindex with verbose output concurrently');
7070

7171
# connection strings
7272
$node->command_ok([qw(reindexdb --echo --table=pg_am dbname=template1)],

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.