postgresql/src/backend/utils/cache
Stephen Frost ab6d1cd26e Fix typo in relcache's equalPolicy()
The USING policies were not being checked for differences as the same
policy was being passed in to both sides of the equal().  This could
result in backends not realizing that a policy had been changed, if
none of the other attributes had been changed.

Fix by passing to equal() the policy1 and policy2 using quals for
comparison.

No need to back-patch as this is not yet released.  Noticed while
testing changes to RLS proposed by Dean Rasheed.
2015-04-17 16:37:11 -04:00
..
attoptcache.c Update copyright for 2015 2015-01-06 11:43:47 -05:00
catcache.c Use FLEXIBLE_ARRAY_MEMBER in a bunch more places. 2015-02-20 00:11:42 -05:00
evtcache.c Update copyright for 2015 2015-01-06 11:43:47 -05:00
inval.c Use FLEXIBLE_ARRAY_MEMBER in some more places. 2015-02-20 17:32:01 -05:00
lsyscache.c pg_event_trigger_dropped_objects: add is_temp column 2015-04-06 11:40:55 -03:00
Makefile Add infrastructure for mapping relfilenodes to relation OIDs. 2013-07-22 11:09:10 -04:00
plancache.c Fix column-privilege leak in error-message paths 2015-01-28 12:31:30 -05:00
relcache.c Fix typo in relcache's equalPolicy() 2015-04-17 16:37:11 -04:00
relfilenodemap.c Update copyright for 2015 2015-01-06 11:43:47 -05:00
relmapper.c Reorganize our CRC source files again. 2015-04-14 17:03:42 +03:00
spccache.c Update copyright for 2015 2015-01-06 11:43:47 -05:00
syscache.c Update copyright for 2015 2015-01-06 11:43:47 -05:00
ts_cache.c Update copyright for 2015 2015-01-06 11:43:47 -05:00
typcache.c Apply table and domain CHECK constraints in name order. 2015-03-23 16:59:35 -04:00