postgresql/src/backend
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
..
access Don't disable commit_ts in standby if enabled locally 2015-10-02 12:49:01 -03:00
bootstrap pgindent run for 9.5 2015-05-23 21:35:49 -04:00
catalog ALTER TABLE .. FORCE ROW LEVEL SECURITY 2015-10-04 21:05:08 -04:00
commands ALTER TABLE .. FORCE ROW LEVEL SECURITY 2015-10-04 21:05:08 -04:00
executor Further twiddling of nodeHash.c hashtable sizing calculation. 2015-10-04 15:55:07 -04:00
foreign Code review for foreign/custom join pushdown patch. 2015-05-10 14:36:36 -04:00
lib Avoid use of float arithmetic in bipartite_match.c. 2015-08-23 13:02:18 -04:00
libpq Support RADIUS passwords up to 128 characters 2015-09-06 14:31:53 +02:00
main Revoke support for strxfrm() that write past the specified array length. 2015-07-08 20:44:21 -04:00
nodes Fix readfuncs/outfuncs problems in last night's Gather patch. 2015-10-01 09:19:26 -04:00
optimizer Fix several bugs related to ON CONFLICT's EXCLUDED pseudo relation. 2015-10-03 15:12:10 +02:00
parser ALTER TABLE .. FORCE ROW LEVEL SECURITY 2015-10-04 21:05:08 -04:00
po Translation updates 2015-06-28 23:56:55 -04:00
port Rely on inline functions even if that causes warnings in older compilers. 2015-08-05 18:19:52 +02:00
postmaster Remove files signaling a standby promotion request at postmaster startup 2015-09-09 22:51:44 +09:00
regex Add recursion depth protections to regular expression matching. 2015-10-02 14:51:58 -04:00
replication Improve errhint() about replication slot naming restrictions. 2015-10-03 15:29:08 +02:00
rewrite Include policies based on ACLs needed 2015-09-30 07:39:24 -04:00
snowball Remove no-longer-required function declarations. 2015-05-24 12:20:23 -04:00
storage Use LOCKBIT_ON() instead of a bit shift in a few places. 2015-09-28 10:57:15 -04:00
tcop Add recursion depth protections to regular expression matching. 2015-10-02 14:51:58 -04:00
tsearch pgindent run for 9.5 2015-05-23 21:35:49 -04:00
utils ALTER TABLE .. FORCE ROW LEVEL SECURITY 2015-10-04 21:05:08 -04:00
.gitignore Add .gitignore entries for AIX-specific intermediate build artifacts. 2015-07-08 20:44:22 -04:00
Makefile Fix build problems in commit aa65de042f. 2015-09-11 14:56:17 -04:00
common.mk Remove maintainer-check target, fold into normal build 2013-10-10 20:11:56 -04:00
nls.mk Remove trailing slashes from directories in find command 2015-09-18 22:06:54 -04:00