Re: Removing unneeded self joins - Mailing list pgsql-hackers

From Alexander Lakhin
Subject Re: Removing unneeded self joins
Date
Msg-id 56ee4520-e9d1-d519-54fe-c8bff880ce9b@gmail.com
Whole thread Raw
In response to Re: Removing unneeded self joins  (Alexander Korotkov <aekorotkov@gmail.com>)
Responses Re: Removing unneeded self joins
List pgsql-hackers
Hi Alexander,

09.01.2024 01:09, Alexander Korotkov wrote:
Fixed in 30b4955a46.

Please look at the following query which fails with an error since
d3d55ce57:

create table t (i int primary key);

select t3.i from t t1
 join t t2 on t1.i = t2.i,
 lateral (select t1.i limit 1) t3;

ERROR:  non-LATERAL parameter required by subquery

Best regards,
Alexander

pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: PGC_SIGHUP shared_buffers?
Next
From: Konstantin Knizhnik
Date:
Subject: Re: PGC_SIGHUP shared_buffers?