postgresql/src/backend/utils/cache
Robert Haas fbe5a3fb73 Only try to push down foreign joins if the user mapping OIDs match.
Previously, the foreign join pushdown infrastructure left the question
of security entirely up to individual FDWs, but it would be easy for
a foreign data wrapper to inadvertently open up subtle security holes
that way.  So, make it the core code's job to determine which user
mapping OID is relevant, and don't attempt join pushdown unless it's
the same for all relevant relations.

Per a suggestion from Tom Lane.  Shigeru Hanada and Ashutosh Bapat,
reviewed by Etsuro Fujita and KaiGai Kohei, with some further
changes by me.
2016-01-28 14:05:36 -05:00
..
Makefile Add infrastructure for mapping relfilenodes to relation OIDs. 2013-07-22 11:09:10 -04:00
attoptcache.c Update copyright for 2016 2016-01-02 13:33:40 -05:00
catcache.c Update copyright for 2016 2016-01-02 13:33:40 -05:00
evtcache.c Update copyright for 2016 2016-01-02 13:33:40 -05:00
inval.c Update copyright for 2016 2016-01-02 13:33:40 -05:00
lsyscache.c Improve index AMs' opclass validation procedures. 2016-01-21 19:47:15 -05:00
plancache.c Only try to push down foreign joins if the user mapping OIDs match. 2016-01-28 14:05:36 -05:00
relcache.c Restructure index access method API to hide most of it at the C level. 2016-01-17 19:36:59 -05:00
relfilenodemap.c Update copyright for 2016 2016-01-02 13:33:40 -05:00
relmapper.c Update copyright for 2016 2016-01-02 13:33:40 -05:00
spccache.c Update copyright for 2016 2016-01-02 13:33:40 -05:00
syscache.c Restructure index access method API to hide most of it at the C level. 2016-01-17 19:36:59 -05:00
ts_cache.c Update copyright for 2016 2016-01-02 13:33:40 -05:00
typcache.c Restructure index access method API to hide most of it at the C level. 2016-01-17 19:36:59 -05:00