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: androiddown_weiwei@hotmail.com
Subject: BUG #17614: "variable not found in subplan target lists" on grouping query
Date: Thu, 15 Sep 2022 12:35:33 +0000
Message-ID: <17614-8ec20c85bdecaa2a@postgresql.org> (raw)

The following bug has been logged on the website:

Bug reference:      17614
Logged by:          Wei Wei
Email address:      androiddown_weiwei@hotmail.com
PostgreSQL version: 11.17
Operating system:   Linux ubuntu 5.4.0-125-generic
Description:        

The problem is reproducible with following sql:
```
	SELECT
		sp2.spf_id 
	FROM
		information_schema.sql_parts AS sp
		CROSS JOIN LATERAL ( SELECT sizing_id FROM information_schema.sql_sizing )
AS ss
		CROSS JOIN LATERAL ( SELECT sp.feature_id AS spf_id ) AS sp2
	GROUP BY
		CUBE ( sp2.spf_id )
```
but seems having been fixed since 12.0



view thread (2+ messages)  latest in thread

Message-ID: <17614-8ec20c85bdecaa2a@postgresql.org>
Permalink:  ../17614-8ec20c85bdecaa2a@postgresql.org/
Also on:    postgresql.org/message-id/17614-8ec20c85bdecaa2a@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, androiddown_weiwei@hotmail.com
  Subject: Re: BUG #17614: "variable not found in subplan target lists" on grouping query
  In-Reply-To: <17614-8ec20c85bdecaa2a@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