postgresql/src/backend/commands
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
..
Makefile Consolidate DROP handling for some object types. 2011-10-19 23:27:19 -04:00
aggregatecmds.c Further consolidation of DROP statement handling. 2011-11-17 21:32:34 -05:00
alter.c Add ALTER DOMAIN ... RENAME 2011-12-22 22:43:56 +02:00
analyze.c Create a "sort support" interface API for faster sorting. 2011-12-07 00:19:39 -05:00
async.c Use callbacks in SlruScanDirectory for the actual action 2011-10-04 14:03:23 -03:00
cluster.c Improve behavior of concurrent CLUSTER. 2011-12-21 15:17:28 -05:00
collationcmds.c Consolidate DROP handling for some object types. 2011-10-19 23:27:19 -04:00
comment.c Remove rel.h from objectaddress.h; only relcache.h is necessary. 2011-06-28 17:08:29 -04:00
constraint.c Move Trigger and TriggerDesc structs out of rel.h into a new reltrigger.h 2011-07-04 14:35:58 -04:00
conversioncmds.c Consolidate DROP handling for some object types. 2011-10-19 23:27:19 -04:00
copy.c Fix compiler warning. 2011-11-09 11:14:50 -05:00
dbcommands.c Comment changes to show bgwriter no longer performs checkpoints. 2011-11-01 18:48:47 +00:00
define.c Remove ancient downcasing code from procedural language operations. 2011-11-17 14:25:18 -05:00
discard.c Clean up the #include mess a little. 2011-09-04 01:13:16 -04:00
dropcmds.c Further consolidation of DROP statement handling. 2011-11-17 21:32:34 -05:00
explain.c Rearrange the implementation of index-only scans. 2011-10-11 14:21:30 -04:00
extension.c Disallow deletion of CurrentExtensionObject while running extension script. 2011-11-28 19:12:17 -05:00
foreigncmds.c Add ALTER FOREIGN DATA WRAPPER / RENAME and ALTER SERVER / RENAME 2011-12-09 20:42:30 +02:00
functioncmds.c Add support for privileges on types 2011-12-20 00:05:19 +02:00
indexcmds.c Improve behavior of concurrent CLUSTER. 2011-12-21 15:17:28 -05:00
lockcmds.c Improve table locking behavior in the face of current DDL. 2011-11-30 10:27:00 -05:00
opclasscmds.c Create a "sort support" interface API for faster sorting. 2011-12-07 00:19:39 -05:00
operatorcmds.c Add support for privileges on types 2011-12-20 00:05:19 +02:00
portalcmds.c Take fewer snapshots. 2011-12-21 09:16:55 -05:00
prepare.c Take fewer snapshots. 2011-12-21 09:16:55 -05:00
proclang.c Further consolidation of DROP statement handling. 2011-11-17 21:32:34 -05:00
schemacmds.c Consolidate DROP handling for some object types. 2011-10-19 23:27:19 -04:00
seclabel.c Remove unnecessary #include references, per pgrminclude script. 2011-09-01 10:04:27 -04:00
sequence.c Improve table locking behavior in the face of current DDL. 2011-11-30 10:27:00 -05:00
tablecmds.c Add a security_barrier option for views. 2011-12-22 16:16:31 -05:00
tablespace.c Remove spclocation field from pg_tablespace 2011-12-07 10:37:33 +01:00
trigger.c Allow CHECK constraints to be declared ONLY 2011-12-19 17:30:23 -03:00
tsearchcmds.c Consolidate DROP handling for some object types. 2011-10-19 23:27:19 -04:00
typecmds.c Add ALTER DOMAIN ... RENAME 2011-12-22 22:43:56 +02:00
user.c Move Timestamp/Interval typedefs and basic macros into datatype/timestamp.h. 2011-09-09 13:23:41 -04:00
vacuum.c Improve table locking behavior in the face of current DDL. 2011-11-30 10:27:00 -05:00
vacuumlazy.c Improve logging of autovacuum I/O activity 2011-11-25 16:34:32 -03:00
variable.c Simplify handling of the timezone GUC by making initdb choose the default. 2011-09-09 17:59:11 -04:00
view.c Add a security_barrier option for views. 2011-12-22 16:16:31 -05:00