pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Paquier <michael@paquier.xyz>
To: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Cc: Shinoda, Noriyoshi (PN Japan A&PS Delivery) <noriyoshi.shinoda@hpe.com>
Cc: Sergei Kornilov <sk@zsrv.org>
Cc: pgsql-hackers@lists.postgresql.org <pgsql-hackers@lists.postgresql.org>
Subject: Re: REINDEX CONCURRENTLY 2.0
Date: Thu, 11 Apr 2019 12:59:52 +0900
Message-ID: <20190411035952.GL2728@paquier.xyz> (raw)
In-Reply-To: <20190409065027.GC19558@paquier.xyz>
References: <7380711553760479@iva5-0acfc31d2b43.qloud-c.yandex.net>
	<13fb3e06-3b66-e878-26d8-0d77e7d50160@2ndquadrant.com>
	<14715291553845163@iva7-8175209a746b.qloud-c.yandex.net>
	<20190329080426.GA1954@paquier.xyz>
	<776f5793-3687-2ba9-913b-a3d5c820bafe@2ndquadrant.com>
	<20190329092122.GC1954@paquier.xyz>
	<DF4PR8401MB11964EDB77C860078C343BEBEE5A0@DF4PR8401MB1196.NAMPRD84.PROD.OUTLOOK.COM>
	<ec449ece-5e7f-f1f2-6e6c-81e305e9af81@2ndquadrant.com>
	<20190401064343.GA16093@paquier.xyz>
	<20190409065027.GC19558@paquier.xyz>

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?
--
Michael

Attachments:

  signature.asc (application/pgp-signature, 832B) download

view thread (170+ messages)  latest in thread

Message-ID: <20190411035952.GL2728@paquier.xyz>
Permalink:  ../20190411035952.GL2728@paquier.xyz/
Also on:    postgresql.org/message-id/20190411035952.GL2728@paquier.xyz

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-hackers@postgresql.org
  Cc: michael@paquier.xyz, peter.eisentraut@2ndquadrant.com, noriyoshi.shinoda@hpe.com, sk@zsrv.org, pgsql-hackers@lists.postgresql.org
  Subject: Re: REINDEX CONCURRENTLY 2.0
  In-Reply-To: <20190411035952.GL2728@paquier.xyz>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox