agora inbox for pgsql-committers@postgresql.org  
help / color / mirror / Atom feed
From: Robert Haas <rhaas@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: doc: Granting TRIGGER or REFERENCES on table is dangerous.
Date: Mon, 20 Jul 2026 18:08:24 +0000
Message-ID: <E1wlsPg-000000003dp-44vO@gemulon.postgresql.org> (raw)

doc: Granting TRIGGER or REFERENCES on table is dangerous.

It's always been the case that granting these privileges to users that
you don't fully trust was a bad idea, but it hasn't always been
obvious to people reading the documentation that this is the case.
To prevent confusion, and also repeated reports to pgsql-security,
mention it explicitly.

Discussion: http://postgr.es/m/CA+TgmobrjCHBuWHrvX3=2vndUCO2thUOdevrCcMDFW86cqCYvw@mail.gmail.com
Reviewed-by: Nathan Bossart <nathandbossart@gmail.com>
Backpatch-through: 14

Branch
------
REL_14_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/665bf40a132a857f1790de2aebffb14f85da7b6a

Modified Files
--------------
doc/src/sgml/ddl.sgml | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)



view thread (7+ messages)

Message-ID: <E1wlsPg-000000003dp-44vO@gemulon.postgresql.org>
Permalink:  ../E1wlsPg-000000003dp-44vO@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1wlsPg-000000003dp-44vO@gemulon.postgresql.org

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: rhaas@postgresql.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: doc: Granting TRIGGER or REFERENCES on table is dangerous.
  In-Reply-To: <E1wlsPg-000000003dp-44vO@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox