postgresql/src/backend/utils/cache
Robert Haas cd30728fb2 Allow LEAKPROOF functions for better performance of security views.
We don't normally allow quals to be pushed down into a view created
with the security_barrier option, but functions without side effects
are an exception: they're OK.  This allows much better performance in
common cases, such as when using an equality operator (that might
even be indexable).

There is an outstanding issue here with the CREATE FUNCTION / ALTER
FUNCTION syntax: there's no way to use ALTER FUNCTION to unset the
leakproof flag.  But I'm committing this as-is so that it doesn't
have to be rebased again; we can fix up the grammar in a future
commit.

KaiGai Kohei, with some wordsmithing by me.
2012-02-13 22:21:14 -05:00
..
attoptcache.c Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
catcache.c Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
inval.c Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
lsyscache.c Allow LEAKPROOF functions for better performance of security views. 2012-02-13 22:21:14 -05:00
Makefile Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00
plancache.c Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
relcache.c Do not access indclass through Form_pg_index 2012-01-27 20:08:34 +02:00
relmapper.c Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
spccache.c Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
syscache.c Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
ts_cache.c Accept a non-existent value in "ALTER USER/DATABASE SET ..." command. 2012-01-30 11:13:36 +02:00
typcache.c Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00