Re: BUG #18803: ERROR: wrong varnullingrels (b) (expected (b 4)) for Var 2/1 - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #18803: ERROR: wrong varnullingrels (b) (expected (b 4)) for Var 2/1
Date
Msg-id 2927186.1739288018@sss.pgh.pa.us
Whole thread Raw
In response to BUG #18803: ERROR: wrong varnullingrels (b) (expected (b 4)) for Var 2/1  (PG Bug reporting form <noreply@postgresql.org>)
Responses Re: BUG #18803: ERROR: wrong varnullingrels (b) (expected (b 4)) for Var 2/1
List pgsql-bugs
PG Bug reporting form <noreply@postgresql.org> writes:
> Given this schema:
> ...
> Running this query:
> ...
> produces the following error:
> ERROR:  wrong varnullingrels (b) (expected (b 4)) for Var 2/1

Thanks for the clear report!  We've seen a few variants of this,
and apparently yours is among the cases that are recently fixed.
Trying this example on a fresh 16-tip build (more or less 16.7)
just emits

DO

            regards, tom lane



pgsql-bugs by date:

Previous
From: Laurenz Albe
Date:
Subject: Re: Major Version Upgrade failure due to orphan roles entries in catalog
Next
From: PG Bug reporting form
Date:
Subject: BUG #18804: LISTEN on channel fails with "could not access status of transaction"