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

Dean Rasheed <dean.a.rasheed@gmail.com>

Commit: 0f7ca0d7dc97ecb50ac964aa50c4fcd9a5735556
Author: Dean Rasheed <dean.a.rasheed@gmail.com>
Date: 2026-02-11T10:52:59Z
Releases: 17.9
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 <dean.a.rasheed@gmail.com>
Reviewed-by: Viktor Holmberg <v@viktorh.net>
Discussion: https://postgr.es/m/CAEZATCXGwMQ+x00YY9XYG46T0kCajH=21QaYL9Xatz0dLKii+g@mail.gmail.com
Backpatch-through: 14

Files

PathChange+/−
doc/src/sgml/ref/insert.sgml modified +7 −4

Documentation touched

Discussion