Re: pg_upgrade failed with ERROR: null relpartbound for relation 18159 error.

Michael Paquier <michael@paquier.xyz>

From: Michael Paquier <michael@paquier.xyz>
To: Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>
Cc: Rajkumar Raghuwanshi <rajkumar.raghuwanshi@enterprisedb.com>, pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2018-10-05T08:38:16Z
Lists: pgsql-hackers

Attachments

On Fri, Oct 05, 2018 at 04:55:51PM +0900, Amit Langote wrote:
> On 2018/10/05 16:05, Michael Paquier wrote:
>> Hmm.  Indeed, v10 does not complain but HEAD does.  (I ran the attached
>> SQL file, which is the complete test case both of you have compiled).
> 
> Did you forget to attach some file?

Yep, here you go for the archive's sake.
--
Michael

Commits

  1. Add regression test for ATTACH PARTITION

  2. Fix catalog insertion order for ATTACH PARTITION

  3. Simplify partitioned table creation vs. relcache