Re: Errors creating partitioned tables from existing using (LIKE <table>) after renaming table constraints
Michael Paquier <michael@paquier.xyz>
From: Michael Paquier <michael@paquier.xyz>
To: Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>
Cc: Stuart <sfbarbee@gmail.com>, pgsql-bugs@postgresql.org
Date: 2018-12-17T03:52:17Z
Lists: 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
Commits
-
Make constraint rename issue relcache invalidation on target relation
- d5d86e2cd6b8 9.4.21 landed
- 5812be7b63cf 9.5.16 landed
- d79cd555da11 9.6.12 landed
- da13d90a5fba 10.7 landed
- 25b8094d33ac 11.2 landed
- b13fd344c5fc 12.0 landed