pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Doc: explain how to test ADMIN privilege with pg_has_role().
Date: Fri, 20 Sep 2024 19:56:49 +0000
Message-ID: <E1srjkG-000CQu-Fh@gemulon.postgresql.org> (raw)

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_13_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/77930c5e92d943205cab4d3a27f435849723fec9

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



view thread (7+ messages)  latest in thread

Message-ID: <E1srjkG-000CQu-Fh@gemulon.postgresql.org>
Permalink:  ../E1srjkG-000CQu-Fh@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1srjkG-000CQu-Fh@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: tgl@sss.pgh.pa.us, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Doc: explain how to test ADMIN privilege with pg_has_role().
  In-Reply-To: <E1srjkG-000CQu-Fh@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox