diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2024-09-20 15:56:34 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2024-09-20 15:56:34 -0400 |
commit | 8e16522163efce0e2d75b6e8c4413be22e637550 (patch) | |
tree | 7b9144acadb7934b9f1b150f85e2483a173198b3 /src/backend/commands/dbcommands.c | |
parent | 5a56bd4ed0f98f737a0f575c31e1f809bad399f6 (diff) | |
download | postgresql-8e16522163efce0e2d75b6e8c4413be22e637550.tar.gz postgresql-8e16522163efce0e2d75b6e8c4413be22e637550.zip |
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
Diffstat (limited to 'src/backend/commands/dbcommands.c')
0 files changed, 0 insertions, 0 deletions