Re: Errors creating partitioned tables from existing using (LIKE) after renaming table constraints - Mailing list pgsql-bugs
From Michael Paquier
Subject Re: Errors creating partitioned tables from existing using (LIKE) after renaming table constraints
Date
Msg-id 20181217035217.GE31474@paquier.xyz
Whole thread Raw
In response to Re: Errors creating partitioned tables from existing using (LIKE) after renaming table constraints  (Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>)
Responses Re: Errors creating partitioned tables from existing using (LIKE) after renaming table constraints
List pgsql-bugs
On Mon, Dec 17, 2018 at 11:20:14AM +0900, Amit Langote wrote:
> On 2018/12/17 11:06, Michael Paquier wrote:
>> It seems that the call to relation_close should happen after
>> CacheInvalidateRelcache.  Damn..

That was the issue and this is actually exactly like what has been fixed
in 8082bea2.

> What a blunder!  Sorry. :(

No problem.  I have committed a fix after reproducing the failure
manually and checking the fix.  This should cool down prion now.
--
Michael

Attachment

pgsql-bugs by date:

Previous
From: Amit Langote
Date:
Subject: Re: Errors creating partitioned tables from existing using (LIKE) after renaming table constraints
Next
From: Amit Langote
Date:
Subject: Re: Errors creating partitioned tables from existing using (LIKE
) after renaming table constraints