Re: plan shape work
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Robert Haas <robertmhaas@gmail.com>
Cc: Richard Guo <guofenglinux@gmail.com>,
Alexandra Wang <alexandra.wang.oss@gmail.com>,
PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>,
"bruce@momjian.us" <bruce@momjian.us>, lepihov@gmail.com
Date: 2025-09-05T16:00:55Z
Lists: pgsql-hackers
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
Assign each subquery a unique name prior to planning it.
- 8c49a484e8eb 19 (unreleased) landed
-
Keep track of what RTIs a Result node is scanning.
- f2bae51dfd5b 19 (unreleased) landed
Robert Haas <robertmhaas@gmail.com> writes: > I was not aware of outer_join_rels, so thank you for pointing it out. > However, consider this query: > select 1 from pg_class a inner join pg_class b on a.relfilenode = b.relfilenode; > Here, we end up with a three-item range table: one for a, one for b, > and one for the join. But the join is not an outer join, and does not > appear in root->outer_join_rels. Therefore, I'm not sure we can rely > on outer_join_rels in this scenario. Plain (not-outer) joins will never be included in a relid set in the first place. regards, tom lane