Content-Length: 260263 | pFad | http://github.com/postgrespro/postgres_cluster/commit/d1b0007639a1cefb5dcecf44999a4461f4c34089

93 Fix progress report of REINDEX INDEX · postgrespro/postgres_cluster@d1b0007 · GitHub
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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres_cluster/commit/d1b0007639a1cefb5dcecf44999a4461f4c34089

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy