diff --git a/doc/src/sgml/ref/create_policy.sgml b/doc/src/sgml/ref/create_policy.sgml index 27bff7cd60f..cec5e9fd19e 100644 --- a/doc/src/sgml/ref/create_policy.sgml +++ b/doc/src/sgml/ref/create_policy.sgml @@ -293,7 +293,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 @@ -517,7 +519,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.