postgresql/src/backend/utils
Stephen Frost 088c83363a ALTER TABLE .. FORCE ROW LEVEL SECURITY
To allow users to force RLS to always be applied, even for table owners,
add ALTER TABLE .. FORCE ROW LEVEL SECURITY.

row_security=off overrides FORCE ROW LEVEL SECURITY, to ensure pg_dump
output is complete (by default).

Also add SECURITY_NOFORCE_RLS context to avoid data corruption when
ALTER TABLE .. FORCE ROW SECURITY is being used. The
SECURITY_NOFORCE_RLS security context is used only during referential
integrity checks and is only considered in check_enable_rls() after we
have already checked that the current user is the owner of the relation
(which should always be the case during referential integrity checks).

Back-patch to 9.5 where RLS was added.
2015-10-04 21:05:08 -04:00
..
adt ALTER TABLE .. FORCE ROW LEVEL SECURITY 2015-10-04 21:05:08 -04:00
cache Remove the SECURITY_ROW_LEVEL_DISABLED security context bit. 2015-09-20 20:47:17 -04:00
error Coordinate log_line_prefix options 'm' and 'n' to share a timeval. 2015-09-07 15:40:49 -07:00
fmgr pgindent run for 9.5 2015-05-23 21:35:49 -04:00
hash Don't include low level locking code from frontend code. 2015-08-07 15:10:56 +02:00
init ALTER TABLE .. FORCE ROW LEVEL SECURITY 2015-10-04 21:05:08 -04:00
mb Encoding PG_UHC is code page 949. 2015-08-14 20:23:13 -04:00
misc ALTER TABLE .. FORCE ROW LEVEL SECURITY 2015-10-04 21:05:08 -04:00
mmgr Fix subtransaction cleanup after an outer-subtransaction portal fails. 2015-09-04 13:37:14 -04:00
resowner Update copyright for 2015 2015-01-06 11:43:47 -05:00
sort Rely on inline functions even if that causes warnings in older compilers. 2015-08-05 18:19:52 +02:00
time Speed up HeapTupleSatisfiesMVCC() by replacing the XID-in-progress test. 2015-08-26 18:19:07 -04:00
.gitignore Avoid maintaining three separate copies of the error codes list. 2011-02-03 22:32:49 -05:00
Gen_dummy_probes.sed Update copyright for 2015 2015-01-06 11:43:47 -05:00
Gen_fmgrtab.pl Allow forcing nullness of columns during bootstrap. 2015-02-21 22:31:54 +01:00
Makefile Make handling of errcodes.h more consistent with other generated headers. 2011-02-04 09:29:10 -05:00
errcodes.txt Redesign tablesample method API, and do extensive code review. 2015-07-25 14:39:00 -04:00
generate-errcodes.pl Update copyright for 2015 2015-01-06 11:43:47 -05:00
probes.d Update copyright for 2015 2015-01-06 11:43:47 -05:00