pgsql: Doc: explain how to test ADMIN privilege with pg_has_role().

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Doc: explain how to test ADMIN privilege with pg_has_role().
Date: 2024-09-20 19:56:49
Message-ID: E1srjkG-000CQp-FB@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Doc: explain how to test ADMIN privilege with pg_has_role().

This has always been possible, but the syntax is a bit obscure,
and our user-facing docs were not very helpful. Spell it out
more clearly.

Per complaint from Dominique Devienne. Back-patch to
all supported branches.

Discussion: https://postgr.es/m/CAFCRh-8JNEy+dV4SXFOrWca50u+d=--TO4cq=+ac1oBtfJy4AA@mail.gmail.com

Branch
------
REL_14_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/cf9f6b4688626e8d0682f96879325019d39c9794

Modified Files
--------------
doc/src/sgml/func.sgml | 4 ++++
1 file changed, 4 insertions(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Bruce Momjian 2024-09-20 20:07:13 pgsql: doc PG 17 relnotes: add major features list
Previous Message Tom Lane 2024-09-20 19:56:48 pgsql: Doc: explain how to test ADMIN privilege with pg_has_role().