]> 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)
commit23d44397321f96d8a94e4791172ecd1f494d3349
tree9bb833b9703d0c678183cab144a9acbc57e49fb3
parent785c53d91d8597062b9e6512c060e6aa4d8db540
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