]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Doc: explain how to test ADMIN privilege with pg_has_role().
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 20 Sep 2024 19:56:34 +0000 (15:56 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 20 Sep 2024 19:56:34 +0000 (15:56 -0400)
commit8e16522163efce0e2d75b6e8c4413be22e637550
tree7b9144acadb7934b9f1b150f85e2483a173198b3
parent5a56bd4ed0f98f737a0f575c31e1f809bad399f6
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
doc/src/sgml/func.sgml