postgresql/src/test
Stephen Frost 68b5201128 Enforce ALL/SELECT policies in RETURNING for RLS
For the UPDATE/DELETE RETURNING case, filter the records which are not
visible to the user through ALL or SELECT policies from those considered
for the UPDATE or DELETE.  This is similar to how the GRANT system
works, which prevents RETURNING unless the caller has SELECT rights on
the relation.

Per discussion with Robert, Dean, Tom, and Kevin.

Back-patch to 9.5 where RLS was introduced.
2015-09-15 15:49:40 -04:00
..
examples Fix up .gitignore and cleanup actions in some src/test/ subdirectories. 2015-04-24 17:13:06 -04:00
isolation Temporarily(?) remove BRIN isolation test. 2015-08-10 10:22:47 -04:00
locale Fix up .gitignore and cleanup actions in some src/test/ subdirectories. 2015-04-24 17:13:06 -04:00
mb Fix broken multibyte regression tests. 2015-08-09 11:03:29 +09:00
modules RLS refactoring 2015-09-15 15:49:40 -04:00
perl Disable fsync throughout TAP test suites. 2015-09-03 00:29:43 -04:00
regress Enforce ALL/SELECT policies in RETURNING for RLS 2015-09-15 15:49:40 -04:00
ssl Simplify Perl chmod calls 2015-08-27 22:38:05 -04:00
thread Fix up .gitignore and cleanup actions in some src/test/ subdirectories. 2015-04-24 17:13:06 -04:00
Makefile Fix up .gitignore and cleanup actions in some src/test/ subdirectories. 2015-04-24 17:13:06 -04:00