Skip to content

Commit c3c131e

Browse files
committed
Fix progress report of REINDEX INDEX
I (Álvaro) broke that in commit 6212276 -- forgot to set the necessary flag. Repair. Author: Amit Langote Discussion: https://postgr.es/m/CA+HiwqEaM2tV5awKhP1vSbgjQe_uXVU15Oi4sTgwgempwMiT8g@mail.gmail.com
1 parent d75386a commit c3c131e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/backend/commands/indexcmds.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2351,7 +2351,8 @@ ReindexIndex(RangeVar *indexRelation, int options, bool concurrent)
23512351
if (concurrent)
23522352
ReindexRelationConcurrently(indOid, options);
23532353
else
2354-
reindex_index(indOid, false, persistence, options);
2354+
reindex_index(indOid, false, persistence,
2355+
options | REINDEXOPT_REPORT_PROGRESS);
23552356
}
23562357

23572358
/*

0 commit comments

Comments
 (0)