aboutsummaryrefslogtreecommitdiff
path: root/src/backend/regex/regcomp.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2016-01-04 12:21:31 -0500
committerTom Lane <tgl@sss.pgh.pa.us>2016-01-04 12:21:43 -0500
commit6a77404f5cd9380ccae24414d3f178e79011e96d (patch)
tree892393dcbe872e2341aaf7fa281972a9d22f7c80 /src/backend/regex/regcomp.c
parentfa39e891b08a5cb283a721592d0fa2c19b4c7176 (diff)
downloadpostgresql-6a77404f5cd9380ccae24414d3f178e79011e96d.tar.gz
postgresql-6a77404f5cd9380ccae24414d3f178e79011e96d.zip
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.
Diffstat (limited to 'src/backend/regex/regcomp.c')
0 files changed, 0 insertions, 0 deletions