doc: clarify text about combining row-level policies
authorBruce Momjian <[email protected]>
Mon, 18 Nov 2024 20:34:59 +0000 (15:34 -0500)
committerBruce Momjian <[email protected]>
Mon, 18 Nov 2024 20:34:59 +0000 (15:34 -0500)
Reported-by: [email protected]
Discussion: https://postgr.es/m/173045909386.700.9231055113418242392@wrigleys.postgresql.org

Backpatch-through: master

doc/src/sgml/ddl.sgml

index 3c56610d2ac6c4f802e9db0ddaaa416e3a65d6a7..08155b156a5da40bc53273887328e0153362186a 100644 (file)
@@ -2628,7 +2628,8 @@ GRANT SELECT (col1), UPDATE (col1) ON mytable TO miriam_rw;
    When multiple policies apply to a given query, they are combined using
    either <literal>OR</literal> (for permissive policies, which are the
    default) or using <literal>AND</literal> (for restrictive policies).
-   This is similar to the rule that a given role has the privileges
+   The <literal>OR</literal> behavior is similar to the rule that a given
+   role has the privileges
    of all roles that they are a member of.  Permissive vs. restrictive
    policies are discussed further below.
   </para>