Re: relhassubclass and partitioned indexes - Mailing list pgsql-hackers

From Amit Langote
Subject Re: relhassubclass and partitioned indexes
Date
Msg-id 8eda3655-a029-a82c-72c3-5971d57d756f@lab.ntt.co.jp
Whole thread Raw
In response to Re: relhassubclass and partitioned indexes  (Alvaro Herrera <alvherre@2ndquadrant.com>)
List pgsql-hackers
On 2018/10/23 0:45, Alvaro Herrera wrote:
> 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 :-)

Aha, I see.

Thanks,
Amit



pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: removing unnecessary get_att*() lsyscache functions
Next
From: Michael Paquier
Date:
Subject: Re: pgsql: Avoid duplicate XIDs at recovery when building initialsnapshot