Re: "Routine Reindexing" docs should be updated to reference REINDEX CONCURRENTLY
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Michael Paquier <michael@paquier.xyz>
Cc: Peter Geoghegan <pg@bowt.ie>,
PostgreSQL Hackers <pgsql-hackers@postgresql.org>,
Peter Eisentraut <peter.eisentraut@2ndquadrant.com>,
Andreas Karlsson <andreas@proxel.se>
Date: 2019-04-26T14:53:35Z
Lists: pgsql-hackers
Michael Paquier <michael@paquier.xyz> 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 <literal>SHARE UPDATE EXCLUSIVE</literal> lock." regards, tom lane
Commits
-
Mention REINDEX CONCURRENTLY in documentation about index maintenance
- a967878414f9 12.0 landed