Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1srjnS-0048b5-TM for pgsql-committers@arkaria.postgresql.org; Fri, 20 Sep 2024 20:00:07 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1srjnR-00C6rr-0P for pgsql-committers@arkaria.postgresql.org; Fri, 20 Sep 2024 20:00:06 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1srjkL-00C3dq-VX for pgsql-committers@lists.postgresql.org; Fri, 20 Sep 2024 19:56:55 +0000 Received: from mahout.postgresql.org ([2001:4800:3e1:1::227]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1srjkI-000E79-Vv for pgsql-committers@lists.postgresql.org; Fri, 20 Sep 2024 19:56:54 +0000 Received: from gemulon.postgresql.org ([2001:4800:3e1:1::198]) by mahout.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1srjkH-000g6K-DR for pgsql-committers@lists.postgresql.org; Fri, 20 Sep 2024 19:56:49 +0000 Received: from localhost ([127.0.0.1] helo=gemulon.postgresql.org) by gemulon.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1srjkG-000CQh-DH for pgsql-committers@lists.postgresql.org; Fri, 20 Sep 2024 19:56:48 +0000 Content-Type: multipart/mixed; boundary="===============7211136782261137563==" MIME-Version: 1.0 From: Tom Lane To: pgsql-committers@lists.postgresql.org Subject: pgsql: Doc: explain how to test ADMIN privilege with pg_has_role(). X-Auto-Response-Suppress: All Auto-Submitted: auto-generated Message-Id: Date: Fri, 20 Sep 2024 19:56:48 +0000 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --===============7211136782261137563== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 RG9jOiBleHBsYWluIGhvdyB0byB0ZXN0IEFETUlOIHByaXZpbGVnZSB3aXRoIHBnX2hhc19yb2xl KCkuCgpUaGlzIGhhcyBhbHdheXMgYmVlbiBwb3NzaWJsZSwgYnV0IHRoZSBzeW50YXggaXMgYSBi aXQgb2JzY3VyZSwKYW5kIG91ciB1c2VyLWZhY2luZyBkb2NzIHdlcmUgbm90IHZlcnkgaGVscGZ1 bC4gIFNwZWxsIGl0IG91dAptb3JlIGNsZWFybHkuCgpQZXIgY29tcGxhaW50IGZyb20gRG9taW5p cXVlIERldmllbm5lLiAgQmFjay1wYXRjaCB0bwphbGwgc3VwcG9ydGVkIGJyYW5jaGVzLgoKRGlz Y3Vzc2lvbjogaHR0cHM6Ly9wb3N0Z3IuZXMvbS9DQUZDUmgtOEpORXkrZFY0U1hGT3JXY2E1MHUr ZD0tLVRPNGNxPSthYzFvQnRmSnk0QUFAbWFpbC5nbWFpbC5jb20KCkJyYW5jaAotLS0tLS0KbWFz dGVyCgpEZXRhaWxzCi0tLS0tLS0KaHR0cHM6Ly9naXQucG9zdGdyZXNxbC5vcmcvcGcvY29tbWl0 ZGlmZi9hMmViZjMyNzRhNDNhY2Y3YWUzNmQ2MDhmYzI2MDkwYjgwM2FiNmUxCgpNb2RpZmllZCBG aWxlcwotLS0tLS0tLS0tLS0tLQpkb2Mvc3JjL3NnbWwvZnVuYy5zZ21sIHwgNCArKysrCjEgZmls ZSBjaGFuZ2VkLCA0IGluc2VydGlvbnMoKykKCg== --===============7211136782261137563==--