Files
postgresql/src/include
Robert Haas 5043193b78 Allow FDWs to push down quals without breaking EvalPlanQual rechecks.
This fixes a long-standing bug which was discovered while investigating
the interaction between the new join pushdown code and the EvalPlanQual
machinery: if a ForeignScan appears on the inner side of a paramaterized
nestloop, an EPQ recheck would re-return the original tuple even if
it no longer satisfied the pushed-down quals due to changed parameter
values.

This fix adds a new member to ForeignScan and ForeignScanState and a
new argument to make_foreignscan, and requires changes to FDWs which
push down quals to populate that new argument with a list of quals they
have chosen to push down.  Therefore, I'm only back-patching to 9.5,
even though the bug is not new in 9.5.

Etsuro Fujita, reviewed by me and by Kyotaro Horiguchi.
2015-10-15 13:10:39 -04:00
..
2015-10-01 15:06:55 -03:00
2015-05-23 21:35:49 -04:00
2015-05-23 21:35:49 -04:00
2015-08-05 13:07:44 +02:00
2015-05-23 21:35:49 -04:00
2015-09-28 19:13:42 -03:00
2015-09-15 15:49:40 -04:00
2015-01-06 11:43:47 -05:00
2015-05-23 21:35:49 -04:00
2015-05-20 19:45:43 +03:00
2015-05-23 21:35:49 -04:00
2015-01-06 11:43:47 -05:00
2015-01-06 11:43:47 -05:00
2015-10-05 15:09:44 -04:00
2015-01-06 11:43:47 -05:00
2015-01-06 11:43:47 -05:00
2015-05-23 21:35:49 -04:00
2015-01-06 11:43:47 -05:00
2014-05-06 12:12:18 -04:00
2015-01-06 11:43:47 -05:00
2015-01-06 11:43:47 -05:00
2015-01-06 11:43:47 -05:00