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

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

Commit: cfd790159d5e2301b3534c8d63d75e904d050f6b
Author: Dean Rasheed <dean.a.rasheed@gmail.com>
Date: 2026-02-11T10:53:01Z
Releases: 15.17
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