Re: set relispartition when attaching child index - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: set relispartition when attaching child index
Date
Msg-id 20190426141229.GA5316@alvherre.pgsql
Whole thread Raw
In response to Re: set relispartition when attaching child index  (Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>)
Responses Re: set relispartition when attaching child index
List pgsql-hackers
On 2019-Apr-25, Amit Langote wrote:

> BTW, this will need to be back-patched to 11.

Done, thanks for the patch.  I added the test in master, but obviously
it doesn't work in pg11, so I just verified manually that relispartition
is set correctly.  I don't think it's worth doing more, though there are
other things that are affected by a bogus relispartition marking for an
index (example: creating the index in the last partition that didn't
have it, should mark the index on parent valid; I think that would fail
to propagate to upper levels correctly.)

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



pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: Fwd: Add tablespace tap test to pg_rewind
Next
From: Rafia Sabih
Date:
Subject: Re: [PATCH v1] Show whether tables are logged in \dt+