postgresql/src/backend/utils
Robert Haas 0e4611c023 Add a security_barrier option for views.
When a view is marked as a security barrier, it will not be pulled up
into the containing query, and no quals will be pushed down into it,
so that no function or operator chosen by the user can be applied to
rows not exposed by the view.  Views not configured with this
option cannot provide robust row-level security, but will perform far
better.

Patch by KaiGai Kohei; original problem report by Heikki Linnakangas
(in October 2009!).  Review (in earlier versions) by Noah Misch and
others.  Design advice by Tom Lane and myself.  Further review and
cleanup by me.
2011-12-22 16:16:31 -05:00
..
adt Add a security_barrier option for views. 2011-12-22 16:16:31 -05:00
cache Add a security_barrier option for views. 2011-12-22 16:16:31 -05:00
error Tweak previous patch to ensure edata->filename always gets initialized. 2011-11-30 00:37:06 -05:00
fmgr Further code review for range types patch. 2011-11-20 23:50:27 -05:00
hash Clean up the #include mess a little. 2011-09-04 01:13:16 -04:00
init Cancel running query if it is detected that the connection to the client is 2011-12-09 14:21:36 +02:00
mb Further improvement of make_greater_string. 2011-10-30 12:22:11 -04:00
misc include_if_exists facility for config file. 2011-12-15 19:40:58 -05:00
mmgr Redesign the plancache mechanism for more flexibility and efficiency. 2011-09-16 00:43:52 -04:00
resowner Clean up the #include mess a little. 2011-09-04 01:13:16 -04:00
sort Create a "sort support" interface API for faster sorting. 2011-12-07 00:19:39 -05:00
time Move "hot" members of PGPROC into a separate PGXACT array. 2011-11-25 08:02:10 -05:00
.gitignore Avoid maintaining three separate copies of the error codes list. 2011-02-03 22:32:49 -05:00
errcodes.txt Add GET STACKED DIAGNOSTICS plpgsql command to retrieve exception info. 2011-07-18 14:47:18 -04:00
Gen_dummy_probes.sed Stamp copyrights for year 2011. 2011-01-01 13:18:15 -05:00
Gen_fmgrtab.pl Stamp copyrights for year 2011. 2011-01-01 13:18:15 -05:00
generate-errcodes.pl Avoid maintaining three separate copies of the error codes list. 2011-02-03 22:32:49 -05:00
Makefile Make handling of errcodes.h more consistent with other generated headers. 2011-02-04 09:29:10 -05:00
probes.d Stamp copyrights for year 2011. 2011-01-01 13:18:15 -05:00