Skip to content

Commit d1b0007

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 5033e95 commit d1b0007

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
@@ -2350,7 +2350,8 @@ ReindexIndex(RangeVar *indexRelation, int options, bool concurrent)
23502350
if (concurrent)
23512351
ReindexRelationConcurrently(indOid, options);
23522352
else
2353-
reindex_index(indOid, false, persistence, options);
2353+
reindex_index(indOid, false, persistence,
2354+
options | REINDEXOPT_REPORT_PROGRESS);
23542355
}
23552356

23562357
/*

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy