Re: pg17: XX000: no relation entry for relid 0 - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: pg17: XX000: no relation entry for relid 0
Date
Msg-id adle2skiU3ArG9sV@paquier.xyz
Whole thread Raw
In response to Re: pg17: XX000: no relation entry for relid 0  (Richard Guo <guofenglinux@gmail.com>)
List pgsql-hackers
On Fri, Apr 10, 2026 at 11:38:50PM +0900, Richard Guo wrote:
> Nice catch.  It seems that we need at least three branches to
> reproduce this, so that there's a nested UNION ALL whose output type
> doesn't match the parent's expected type.  At the outer branch maybe
> we can use NULL::bigint[] instead to be a little simpler.

Indeed, three branches:
$ git branch --contains 9391f7152
+ REL_17_STABLE
+ REL_18_STABLE
* master
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: SATYANARAYANA NARLAPURAM
Date:
Subject: Infinite Autovacuum loop caused by failing virtual generated column expression
Next
From: Haibo Yan
Date:
Subject: Re: Extract numeric filed in JSONB more effectively