Re: Increase value of OUTER_VAR
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Tomas Vondra <tomas.vondra@enterprisedb.com>
Cc: Andrey Lepikhov <a.lepikhov@postgrespro.ru>,
Julien Rouhaud <rjuju123@gmail.com>,
Amit Langote <amitlangote09@gmail.com>,
David Rowley <dgrowleyml@gmail.com>,
PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2021-03-04T18:11:19Z
Lists: pgsql-hackers
Tomas Vondra <tomas.vondra@enterprisedb.com> writes: > On 3/4/21 4:16 PM, Tom Lane wrote: >> Hmm, do we really have any places that include OUTER_VAR etc in >> bitmapsets? They shouldn't appear in relid sets, for sure. >> I agree though that if they did, this would have bad performance >> consequences. > Hmmm, I don't know. I mostly assumed that if I do pull_varnos() it would > include those values. But maybe that's not supposed to happen. But (IIRC) those varnos are never used till setrefs.c fixes up the plan to replace normal Vars with references to lower plan nodes' outputs. I'm not sure why anyone would be doing pull_varnos() after that; it would not give very meaningful results. regards, tom lane
Commits
-
Remove arbitrary 64K-or-so limit on rangetable size.
- e3ec3c00d85b 15.0 landed
-
More cleanups of the include files
- 105409746499 7.1.1 cited