projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5033e95
)
Fix progress report of REINDEX INDEX
author
Alvaro Herrera
<
[email protected]
>
Fri, 20 Sep 2019 15:53:58 +0000
(12:53 -0300)
committer
Alvaro Herrera
<
[email protected]
>
Fri, 20 Sep 2019 15:56:00 +0000
(12:56 -0300)
I (Álvaro) broke that in commit
6212276e4343
-- forgot to set the
necessary flag. Repair.
Author: Amit Langote
Discussion: https://postgr.es/m/CA+HiwqEaM2tV5awKhP1vSbgjQe_uXVU15Oi4sTgwgempwMiT8g@mail.gmail.com
src/backend/commands/indexcmds.c
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/commands/indexcmds.c
b/src/backend/commands/indexcmds.c
index d7c1e1c93f8c951f464c961375093091e01fa06f..70f9b6729a7d0165927eab706352b1bf57e76d73 100644
(file)
--- a/
src/backend/commands/indexcmds.c
+++ b/
src/backend/commands/indexcmds.c
@@
-2350,7
+2350,8
@@
ReindexIndex(RangeVar *indexRelation, int options, bool concurrent)
if (concurrent)
ReindexRelationConcurrently(indOid, options);
else
- reindex_index(indOid, false, persistence, options);
+ reindex_index(indOid, false, persistence,
+ options | REINDEXOPT_REPORT_PROGRESS);
}
/*