Re: REINDEX CONCURRENTLY 2.0
Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
From: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
To: Michael Paquier <michael@paquier.xyz>
Cc: "Shinoda, Noriyoshi (PN Japan A&PS Delivery)"
<noriyoshi.shinoda@hpe.com>, Sergei Kornilov <sk@zsrv.org>,
"pgsql-hackers@lists.postgresql.org" <pgsql-hackers@lists.postgresql.org>
Date: 2019-04-12T06:44:18Z
Lists: pgsql-hackers
On 2019-04-11 05:59, Michael Paquier wrote: > On Tue, Apr 09, 2019 at 03:50:27PM +0900, Michael Paquier wrote: >> And here is the patch to address this issue. It happens that a bit >> more than the dependency switch was lacking here: >> - At swap time, we need to have the new index definition track >> relispartition from the old index. >> - Again at swap time, the inheritance link needs to be updated between >> the old/new index and its parent when reindexing a partition index. > > Peter, this is an open item, and I think as the committer of the > feature you are its owner. Well, in this case, I don't mind taking > the ownership as need be as I know this stuff. Anyway, could you have > a look at the patch proposed and see if you have any issues with it? Looks good, committed. -- Peter Eisentraut http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
Commits
-
Prevent reindex of invalid indexes on TOAST tables
- 8bca5f93547c 12.3 landed
- 61d7c7bce368 13.0 landed
-
Rework handling of invalid indexes with REINDEX CONCURRENTLY
- a6dcf9df4d91 12.0 landed
-
Split builtins.h to a new header ruleutils.h
- 7b1c2a0f2066 9.5.0 cited