]> 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)
commit77930c5e92d943205cab4d3a27f435849723fec9
tree435e07afca22a69e57aead10138fe4efa83530da
parent92a6cc5acbe0d341f6e48333db2e8862014caf89
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