"Routine Reindexing" docs should be updated to reference REINDEX CONCURRENTLY
"Routine Reindexing" docs should be updated to reference REINDEX CONCURRENTLY
От:
Peter Geoghegan <pg@bowt.ie>
Дата:
The documentation has a section called "Routine Reindexing", which explains how to simulate REINDEX CONCURRENTLY with a sequence of creation and replacement steps. This should be updated to reference the REINDEX CONCURRENTLY command. -- Peter Geoghegan
Re: "Routine Reindexing" docs should be updated to reference REINDEXCONCURRENTLY
On Thu, Apr 25, 2019 at 01:34:41PM -0700, Peter Geoghegan wrote: > The documentation has a section called "Routine Reindexing", which > explains how to simulate REINDEX CONCURRENTLY with a sequence of > creation and replacement steps. This should be updated to reference > the REINDEX CONCURRENTLY command. Agreed, good catch. I would suggest to remove most of the section and just replace it with a reference to REINDEX CONCURRENTLY, as per the attached. What do you think? -- Michael
Re: "Routine Reindexing" docs should be updated to reference REINDEXCONCURRENTLY
От:
Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Дата:
On 2019-04-26 05:05, Michael Paquier wrote: > On Thu, Apr 25, 2019 at 01:34:41PM -0700, Peter Geoghegan wrote: >> The documentation has a section called "Routine Reindexing", which >> explains how to simulate REINDEX CONCURRENTLY with a sequence of >> creation and replacement steps. This should be updated to reference >> the REINDEX CONCURRENTLY command. > > Agreed, good catch. I would suggest to remove most of the section and > just replace it with a reference to REINDEX CONCURRENTLY, as per the > attached. What do you think? looks good to me -- Peter Eisentraut http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
Re: "Routine Reindexing" docs should be updated to reference REINDEX CONCURRENTLY
От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
Michael Paquier writes: > On Thu, Apr 25, 2019 at 01:34:41PM -0700, Peter Geoghegan wrote: >> The documentation has a section called "Routine Reindexing", which >> explains how to simulate REINDEX CONCURRENTLY with a sequence of >> creation and replacement steps. This should be updated to reference >> the REINDEX CONCURRENTLY command. > Agreed, good catch. I would suggest to remove most of the section and > just replace it with a reference to REINDEX CONCURRENTLY, as per the > attached. What do you think? +1. Maybe say "... which requires only a SHARE UPDATE EXCLUSIVE lock." regards, tom lane