mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-09-06 17:09:26 +02:00
Fix progress report of REINDEX INDEX
I (Álvaro) broke that in commit 6212276e43
-- forgot to set the
necessary flag. Repair.
Author: Amit Langote
Discussion: https://postgr.es/m/CA+HiwqEaM2tV5awKhP1vSbgjQe_uXVU15Oi4sTgwgempwMiT8g@mail.gmail.com
This commit is contained in:
parent
d75386a3fd
commit
c3c131e295
@ -2351,7 +2351,8 @@ ReindexIndex(RangeVar *indexRelation, int options, bool concurrent)
|
|||||||
if (concurrent)
|
if (concurrent)
|
||||||
ReindexRelationConcurrently(indOid, options);
|
ReindexRelationConcurrently(indOid, options);
|
||||||
else
|
else
|
||||||
reindex_index(indOid, false, persistence, options);
|
reindex_index(indOid, false, persistence,
|
||||||
|
options | REINDEXOPT_REPORT_PROGRESS);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user