From cf80ddee57103bb3b454c1607d100a4551d7a48c Mon Sep 17 00:00:00 2001 From: Joe Conway Date: Sat, 25 Jul 2015 17:46:04 -0700 Subject: [PATCH] Improve markup for row_security. Wrap the literals on, off, force, and BYPASSRLS with appropriate markup. Per Kevin Grittner. --- doc/src/sgml/config.sgml | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml index b91d6c75d2..bbe1eb0d19 100644 --- a/doc/src/sgml/config.sgml +++ b/doc/src/sgml/config.sgml @@ -5568,20 +5568,22 @@ COPY postgres_log FROM '/full/path/to/logfile.csv' WITH csv; This variable controls if row security policies are to be applied to queries which are run against tables that have row security enabled. - The default is 'on'. When set to 'on', all users, except superusers - and the owner of the table, will have the row policies for the table - applied to their queries. The table owner and superuser can request - that row policies be applied to their queries by setting this to - 'force'. Lastly, this can also be set to 'off' which will bypass row - policies for the table, if possible, and error if not. + The default is on. When set to on, all users, + except superusers and the owner of the table, will have the row + policies for the table applied to their queries. The table owner and + superuser can request that row policies be applied to their queries by + setting this to force. Lastly, this can also be set to + off which will bypass row policies for the table, if + possible, and error if not. For a user who is not a superuser and not the table owner to bypass - row policies for the table, they must have the BYPASSRLS role attribute. - If this is set to 'off' and the user queries a table which has row - policies enabled and the user does not have the right to bypass - row policies then a permission denied error will be returned. + row policies for the table, they must have the BYPASSRLS + role attribute. If this is set to off and the user queries + a table which has row policies enabled and the user does not have the + right to bypass row policies then a permission denied error will be + returned.