Subject: pgsql: doc: Mention all SELECT privileges required by INSERT ... ON CON

From: Dean Rasheed <[email-masked]>
Date: Wed, 11 Feb 2026 10:56:38 +0000

doc: Mention all SELECT privileges required by INSERT ... ON CONFLICT.

On the INSERT page, mention that SELECT privileges are also required
for any columns mentioned in the arbiter clause, including those
referred to by the constraint, and clarify that this applies to all
forms of ON CONFLICT, not just ON CONFLICT DO UPDATE.

Author: Dean Rasheed <[email-masked]>
Reviewed-by: Viktor Holmberg <[email-masked]>
Discussion: https://postgr.es/m/CAEZATCXGwMQ+x00YY9XYG46T0kCajH=[email-masked]
Backpatch-through: 14

Branch
------
REL_16_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/51a0d766b34f1001daf3789cf2f6d1f991088394

Modified Files
--------------
doc/src/sgml/ref/insert.sgml | 11 +++++++----
1 file changed, 7 insertions(+), 4 deletions(-)