Re: Pull up aggregate subquery
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Hitoshi Harada <umi.tanuki@gmail.com>
Cc: Robert Haas <robertmhaas@gmail.com>, PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2011-05-25T15:03:10Z
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 →
-
Make NestLoop plan nodes pass outer-relation variables into their inner
- 53e757689ce9 9.1.0 cited
Hitoshi Harada <umi.tanuki@gmail.com> writes: > 2011/5/25 Hitoshi Harada <umi.tanuki@gmail.com>: >> So I'm still >> thinking which of pulling up and parameterized scan is better. > After more investigation I came up with third idea, pushing down > RangeTblEntry to aggregate subquery. This sounds like a crazy idea, Yes, it sure does. Won't that typically change the number of rows produced by the subquery's jointree? And thus possibly change the aggregate's result? regards, tom lane