Re: plan shape work
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Richard Guo <guofenglinux@gmail.com>
Cc: Robert Haas <robertmhaas@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-26T02:37:20Z
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
Richard Guo <guofenglinux@gmail.com> writes: > FWIW, I'm a bit concerned about the double for loop inside > choose_plan_name(), especially since the outer loop runs with a true > condition. Maybe I'm just worrying over nothing, as we probably don't > expect a large number of subroots in practice, but the nested loops > still make me a little uneasy. I really doubt that a query could have enough subplans to make that a problem. But if I'm wrong, it's surely something we could improve in a localized way later. regards, tom lane