Hi Alexander, On Sat, May 16, 2026 at 5:30 PM Alexander Lakhin <[email protected]> wrote: > > Hello hackers, > > Please look at an internal error produced with the following script added > to src/test/regress/sql/graph_table.sql: > CREATE TABLE x(a int); > SELECT * FROM x, GRAPH_TABLE (myshop MATCH (c IS customers) ->(l IS orders | > wishlists) COLUMNS (c.name, x.a AS a)); > > ERROR: XX000: plan should not reference subplan's variable > LOCATION: finalize_plan, subselect.c:3159
Thanks for the report. It will be better to start a new thread for SQL/PGQ issues so that they can be tracked in open items if required. I am wondering if this issue is related to the issue reported at [1] and has the same root cause. [1] https://www.postgresql.org/message-id/cahg+qdfnlzsgjaq_cikspp4jh3mkoiwoawecczxa9uyr45y...@mail.gmail.com -- Best Wishes, Ashutosh Bapat
