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 20190424153341.GA7384@alvherre.pgsql
Whole thread Raw
In response to set relispartition when attaching child index  (Amit Langote <amitlangote09@gmail.com>)
List pgsql-hackers
On 2019-Apr-25, Amit Langote wrote:

> It seems that DefineIndex() is forgetting to update_relispartition()
> on a partition's index when it's attached to an index being added to
> the parent.  That results in unexpected behavior when adding a foreign
> key referencing the parent.

Ah, thanks for fixing.  I also read Depesz's post this morning and was
to see what was going on after I push the pg_dump fix.

I'll get this pushed later.

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



pgsql-hackers by date:

Previous
From: Amit Langote
Date:
Subject: set relispartition when attaching child index
Next
From: Alvaro Herrera
Date:
Subject: Re: set relispartition when attaching child index