diff --git a/doc/src/sgml/ref/create_policy.sgml b/doc/src/sgml/ref/create_policy.sgml index 42d43ad7bf4..9065ccb65f9 100644 --- a/doc/src/sgml/ref/create_policy.sgml +++ b/doc/src/sgml/ref/create_policy.sgml @@ -294,7 +294,9 @@ CREATE POLICY name ON If an INSERT has an ON CONFLICT DO - NOTHING/UPDATE clause, SELECT + UPDATE clause, or an ON CONFLICT DO + NOTHING clause with an arbiter index or constraint + specification, then SELECT permissions are required on the relation, and the rows proposed for insertion are checked using the relation's SELECT policies. If a row proposed for insertion does not satisfy the @@ -540,7 +542,11 @@ CREATE POLICY name ON INSERT ... ON CONFLICT - Check new row  + Check new row  + + If an arbiter index or constraint is specified. + + Row proposed for insertion is checked regardless of whether or not a conflict occurs.