Re: BUG #19928: pg_upgrade fails on v18 schema with NOT NULL ... NO INHERIT and inheritance

From: Raja Sai pranav <rajasaipranav0(at)gmail(dot)com>
To: Zsolt Parragi <zsolt(dot)parragi(at)percona(dot)com>
Cc: pgsql-bugs(at)lists(dot)postgresql(dot)org, exclusion(at)gmail(dot)com, alvherre(at)kurilemu(dot)de
Subject: Re: BUG #19928: pg_upgrade fails on v18 schema with NOT NULL ... NO INHERIT and inheritance
Date: 2026-12-02 08:49:21
Message-ID: CAPHduZBjQUP_-X2tUtNS1Y+7aSjkySLWfvhPsdw6n8Z3qHW6Rg@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Tue, Dec 1, 2026 at 9:52 PM Zsolt Parragi <zsolt(dot)parragi(at)percona(dot)com>
wrote:
> Somehow seems like your message started a new thread, that probably
> wasn't intentional?

No, sorry about that. My mail setup dropped the In-Reply-To header;
this one should be threaded properly.

> One more thing I noticed: selective restore across schemas now fails,
> is this an oversight?

Yes, I get the same: with v4, pg_restore -n sp fails on the COMMENT
for sc.child, and master exits 0. v4 made the comment depend on the
parent's constraint so that it is restored after it, but in a
selective restore pg_restore includes a COMMENT when any of its
dependencies is selected, so the comment now follows sp. I'll fix that
in v5 so the comment is only restored when its own table is.

Regards,
Sai Pranav

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Raja Sai pranav 2026-12-02 09:09:26 Re: BUG #19928: pg_upgrade fails on v18 schema with NOT NULL ... NO INHERIT and inheritance
Previous Message Zejiang Zhang 2026-12-02 08:19:54 Re: BUG #19958: jsonpath: a word directly followed by a /* comment */ is silently dropped, so strict becomes lax