pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: PG Bug reporting form <noreply@postgresql.org>
To: pgsql-bugs@lists.postgresql.org
Cc: marko@joh.to
Subject: BUG #17832: ERROR:  failed to apply nullingrels to a non-Var in HEAD
Date: Sat, 11 Mar 2023 18:05:20 +0000
Message-ID: <17832-d0a8106cdf1b722e@postgresql.org> (raw)

The following bug has been logged on the website:

Bug reference:      17832
Logged by:          Marko Tiikkaja
Email address:      marko@joh.to
PostgreSQL version: Unsupported/Unknown
Operating system:   Linux
Description:        

Running the following query in HEAD fails with the error in $SUBJECT:

SELECT 1
FROM
(
    SELECT NULL::text AS AccountName
) Actual FULL JOIN (
    SELECT text 'foo'
    UNION ALL
    SELECT text 'bar'
) Expected (AccountName)
ON TRUE
WHERE Expected.AccountName IS NULL;

I tried PGv15 online and it seemed to work there, so I'm guessing this only
applies to HEAD.



view thread (2+ messages)  latest in thread

Message-ID: <17832-d0a8106cdf1b722e@postgresql.org>
Permalink:  ../17832-d0a8106cdf1b722e@postgresql.org/
Also on:    postgresql.org/message-id/17832-d0a8106cdf1b722e@postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-bugs@postgresql.org
  Cc: noreply@postgresql.org, pgsql-bugs@lists.postgresql.org, marko@joh.to
  Subject: Re: BUG #17832: ERROR:  failed to apply nullingrels to a non-Var in HEAD
  In-Reply-To: <17832-d0a8106cdf1b722e@postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox