Re: relhassubclass and partitioned indexes

From: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
To: Amit Langote <Langote_Amit_f8(at)lab(dot)ntt(dot)co(dot)jp>
Cc: Michael Paquier <michael(at)paquier(dot)xyz>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: relhassubclass and partitioned indexes
Date: 2018-10-22 15:45:28
Message-ID: 20181022154528.gpismm43dsgnnzd4@alvherre.pgsql
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 2018-Oct-22, Amit Langote wrote:

> Hi,
>
> On 2018/10/22 11:09, Michael Paquier wrote:
> > On Fri, Oct 19, 2018 at 06:46:15PM +0900, Amit Langote wrote:
> >> Thanks. Attached a patch to set relhassubclass when an index partition is
> >> added to a partitioned index.
> >
> > Thanks, committed after adding a test with ALTER TABLE ONLY, and
> > checking upgrades as well as ATTACH partition for ALTER INDEX and ALTER
> > TABLE. In all cases the same code paths are taken.
>
> Thank you for committing with those changes. I didn't know about create
> index on "only".

pg_dump uses it :-)

--
Álvaro Herrera https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Alexey Kondratov 2018-10-22 15:51:27 Re: [Patch] pg_rewind: options to use restore_command from recovery.conf or command line
Previous Message Alvaro Herrera 2018-10-22 15:36:25 Re: pgsql: Avoid duplicate XIDs at recovery when building initial snapshot