Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nIkde-0001gQ-Kw for pgsql-general@arkaria.postgresql.org; Sat, 12 Feb 2022 05:08:03 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1nIkd7-0007iw-6j for pgsql-general@arkaria.postgresql.org; Sat, 12 Feb 2022 05:07:29 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nIkd5-0007im-9B for pgsql-general@lists.postgresql.org; Sat, 12 Feb 2022 05:07:28 +0000 Received: from out3-smtp.messagingengine.com ([66.111.4.27]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nIkcx-0004TC-8P for pgsql-general@lists.postgresql.org; Sat, 12 Feb 2022 05:07:25 +0000 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id E39FD5C01AF; Sat, 12 Feb 2022 00:07:17 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Sat, 12 Feb 2022 00:07:17 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= cc:cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm2; bh=FjEuBX6AnnIcT7 hSfVTyxlZ8yAIW0uuZMGz0v+L88b0=; b=MKLIgWL7RQfJDe+H/8hviGlP8XnEV6 7b0Vw9O9WRBWZXrZWE4wSDlI+i9rteKnlEWfAwKCxaCK5PPA4paurH2iknz+Mqhc ioXN7BbeFwmyALRmc0hGONmOMOkqQg0YCCJHOcy2pNs2Z6lZTuf5PRR7rHkKogop nRZZvPRxgoRX0GFThXFmzXvvLac6AAuqWru/lEwUFUw5CLSTzWH68ZCRBOjlM5/k 10mSk6TwI54ezz9lODq6UwaFkiOvZt/V0dZfBY3h48Z7EU428cCODG4xefpLVLCG 8cyQoFfnhN9ZfNvTkFN1q2xtfAOpDvAtX0jy8qhtA4ycEHiblOdcbEjw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=FjEuBX6AnnIcT7hSfVTyxlZ8yAIW0uuZMGz0v+L88 b0=; b=Y3eUuup1jTlc5IYHP1xcsbajRh8FvZRdtSqUVVGvc1/XvCZeO7V/qpM+0 PxSHSiIhXdkV2SyyWXDbjwri4b+fFruQ9xBxw8m2ALp5XjcXujLtTe9F++NLJL3j PUpnjRU3QNCxhHHo2tWIP4bLeeL8N6bziY/JvowJoQ81NSceQMuvRmStF1GVuczA 7CwHxasXxLcJWM0zOLu2G/QXRtego4znXzzhYtBW7lCqh0HJZSgipYsGUrdJVz4M Wxq5l0VhLNZ0wVIwh8yryaQdHNSwVUiCDj/T2JLSTnQ19zFF/8M7IfUZvAADeQB6 A5SIP4Y1S09XsCH1OH7COs2p7oy/w== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddrieeggdejkecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefkffggfgfuvfhfhfgjtgfgsehtkeertddtfeejnecuhfhrohhmpeetughrihgr nhcumfhlrghvvghruceorggurhhirghnrdhklhgrvhgvrhesrghklhgrvhgvrhdrtghomh eqnecuggftrfgrthhtvghrnhepleekgeejhfekteehfeduveetheeivdduheekudelteef vdffueehtddvgedtfeefnecuffhomhgrihhnpehpohhsthhgrhgvshhqlhdrohhrghenuc evlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegrughrihgr nhdrkhhlrghvvghrsegrkhhlrghvvghrrdgtohhm X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat, 12 Feb 2022 00:07:16 -0500 (EST) Message-ID: <3b107873-8c3e-74f4-a0b3-7211e09fec4e@aklaver.com> Date: Fri, 11 Feb 2022 21:07:16 -0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.6.0 Subject: Re: "grant usage on schema" confers the ability to execute all user-defined functions in that schema, with needing to grant "execute" Content-Language: en-US To: Bryn Llewellyn Cc: "David G. Johnston" , Tom Lane PostgreSQL , jeremy@musicsmith.net, pgsql-general list References: <0994D6C4-EDF0-4854-B528-88DDE429172E@yugabyte.com> <46C22E9C-280C-446E-911F-6915702E554E@yugabyte.com> <2188505.1644617120@sss.pgh.pa.us> <2162E383-66F7-432A-BFEF-16B922C57C79@yugabyte.com> <613f1225-26ae-6772-c5da-1cb725674e4f@aklaver.com> From: Adrian Klaver In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 2/11/22 17:24, Bryn Llewellyn wrote: >>> /bryn@yugabyte.com  wrote:/ > I s'pose that I can interpret this output in the light of the "miriam" > example by guessing than an empty LHS means "public" and that the > initial "X" means "execute". It looks like what follows the slash is the > owner of the object (a denormalization of what the "Owner" column shows.) > > *Where is this notation, "miriam=arwdDxt/miriam", explained?* Here: https://www.postgresql.org/docs/current/ddl-priv.html From: Table 5.1. ACL Privilege Abbreviations -- Adrian Klaver adrian.klaver@aklaver.com