Re: BUG #18953: Planner fails to build plan for complex query with LATERAL references
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Richard Guo <guofenglinux@gmail.com>
Cc: Alexander Lakhin <exclusion@gmail.com>, pgsql-bugs@lists.postgresql.org
Date: 2025-06-27T21:37:19Z
Lists: pgsql-bugs
... BTW, looking at these two patches again, I wonder if it'd be better to put the hackery for SubLink conversion into identify_current_nestloop_params? That'd remove the need to argue that we don't have to fix both copies of a nestloop-parameter PHV. The responsibility doesn't clearly belong to identify_current_nestloop_params, but it doesn't clearly belong to create_nestloop_plan either, so neither choice seems superior from a modularity standpoint. regards, tom lane
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
Fix some new issues with planning of PlaceHolderVars.
- 66e9df9f6ef5 18.0 landed
-
Remove planner's have_dangerous_phv() join-order restriction.
- a16ef313f2c2 18.0 landed