pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>
To: Michael Paquier <michael@paquier.xyz>
Cc: Stuart <sfbarbee@gmail.com>
Cc: pgsql-bugs@postgresql.org
Subject: Re: Errors creating partitioned tables from existing using (LIKE <table>) after renaming table constraints
Date: Mon, 17 Dec 2018 12:55:56 +0900
Message-ID: <f051179f-15c0-c436-dd01-abc99b7bc5ce@lab.ntt.co.jp> (raw)
In-Reply-To: <20181217035217.GE31474@paquier.xyz>
References: <2047094.V130LYfLq4@station53.ousa.org>
	<977c72a1-8d56-b77c-37de-808627033654@lab.ntt.co.jp>
	<20181214002038.GC2921@paquier.xyz>
	<d6975ae7-e82a-75d7-fe35-91145cb6265b@lab.ntt.co.jp>
	<20181216072703.GK5012@paquier.xyz>
	<3dcf4d65-313c-b629-86f5-8e06ec42d92f@lab.ntt.co.jp>
	<20181217015110.GA31474@paquier.xyz>
	<20181217020634.GC31474@paquier.xyz>
	<b7ffd062-cd82-c72d-6227-527bb9f42431@lab.ntt.co.jp>
	<20181217035217.GE31474@paquier.xyz>

On 2018/12/17 12:52, Michael Paquier wrote:
> 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.

Thank you!

Regards,
Amit






view thread (12+ messages)

Message-ID: <f051179f-15c0-c436-dd01-abc99b7bc5ce@lab.ntt.co.jp>
Permalink:  ../f051179f-15c0-c436-dd01-abc99b7bc5ce@lab.ntt.co.jp/
Also on:    postgresql.org/message-id/f051179f-15c0-c436-dd01-abc99b7bc5ce@lab.ntt.co.jp

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: Langote_Amit_f8@lab.ntt.co.jp, michael@paquier.xyz, sfbarbee@gmail.com
  Subject: Re: Errors creating partitioned tables from existing using (LIKE <table>) after renaming table constraints
  In-Reply-To: <f051179f-15c0-c436-dd01-abc99b7bc5ce@lab.ntt.co.jp>
  References: <2047094.V130LYfLq4@station53.ousa.org> <977c72a1-8d56-b77c-37de-808627033654@lab.ntt.co.jp> <20181214002038.GC2921@paquier.xyz> <d6975ae7-e82a-75d7-fe35-91145cb6265b@lab.ntt.co.jp> <20181216072703.GK5012@paquier.xyz> <3dcf4d65-313c-b629-86f5-8e06ec42d92f@lab.ntt.co.jp> <20181217015110.GA31474@paquier.xyz> <20181217020634.GC31474@paquier.xyz> <b7ffd062-cd82-c72d-6227-527bb9f42431@lab.ntt.co.jp> <20181217035217.GE31474@paquier.xyz> <f051179f-15c0-c436-dd01-abc99b7bc5ce@lab.ntt.co.jp>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox