postgresql/src/test
Tom Lane 6a77404f5c Adjust behavior of row_security GUC to match the docs.
Some time back we agreed that row_security=off should not be a way to
bypass RLS entirely, but only a way to get an error if it was being
applied.  However, the code failed to act that way for table owners.
Per discussion, this is a must-fix bug for 9.5.0.

Adjust the logic in rls.c to behave as expected; also, modify the
error message to be more consistent with the new interpretation.
The regression tests need minor corrections as well.  Also update
the comments about row_security in ddl.sgml to be correct.  (The
official description of the GUC in config.sgml is already correct.)

I failed to resist the temptation to do some other very minor
cleanup as well, such as getting rid of a duplicate extern declaration.
2016-01-04 12:21:43 -05: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 Message style improvements 2015-10-28 20:23:53 -04:00
perl Avoid odd portability problem in TestLib.pm's slurp_file function. 2015-12-08 16:58:05 -05:00
regress Adjust behavior of row_security GUC to match the docs. 2016-01-04 12:21:43 -05: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