pgsql: Doc: explain how to test ADMIN privilege with pg_has_role(). - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Doc: explain how to test ADMIN privilege with pg_has_role().
Date
Msg-id E1srjkG-000CQi-Du@gemulon.postgresql.org
Whole thread Raw
List 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_17_STABLE

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

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


pgsql-committers by date:

Previous
From: Peter Geoghegan
Date:
Subject: pgsql: Fix nbtree pgstats accounting with parallel scans.
Next
From: Tom Lane
Date:
Subject: pgsql: Doc: explain how to test ADMIN privilege with pg_has_role().