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 1sLkvy-00GOLJ-Pr for pgsql-general@arkaria.postgresql.org; Mon, 24 Jun 2024 14:44:42 +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 1sLkvw-009stO-SY for pgsql-general@arkaria.postgresql.org; Mon, 24 Jun 2024 14:44:41 +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 1sLkvw-009stG-H8 for pgsql-general@lists.postgresql.org; Mon, 24 Jun 2024 14:44:40 +0000 Received: from fout3-smtp.messagingengine.com ([103.168.172.146]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sLkvu-002twm-5q for pgsql-general@lists.postgresql.org; Mon, 24 Jun 2024 14:44:39 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailfout.nyi.internal (Postfix) with ESMTP id 6FA7713801FE; Mon, 24 Jun 2024 10:44:37 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Mon, 24 Jun 2024 10:44:37 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= cc:content-transfer-encoding:content-type:content-type:date:date :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm1; t=1719240277; x=1719326677; bh=afad11pB0bP04ZsCpmhb55DCluKeke50NFn1OtNGB10=; b= ir2dRsmT421KM0u2It+ix/t7gznIFob+kZoBM1sOvxnUqrxec38wR1qG0HUVoNrZ 7NbzLD03NhhHc+80mpu1fvI8RBNTMEYhZeMxzDnG2EeoUZJZxWbn+SwEpkM1mp3l WtT4imTyRGRJ4+4M3qOjUAHz6fqqewoREZJC9thoMb36N+60g3MWBXC8dACZbITr HEihPgVt1dIF4R2TuEeDVV71bBh70ATrmo0SvpCkjhT7JTOU6Zo6HahP5/N6x437 AYAB7fxP/N35fXg7MJSiY4P4kdvWPXmwQRtp9vF4YWBgPSLzv2VgFeneEvkftCtX 8ciiINzT4AUUIy5PAw64cg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1719240277; x= 1719326677; bh=afad11pB0bP04ZsCpmhb55DCluKeke50NFn1OtNGB10=; b=W dwrCb4GHhIaEB6VQfs1RtwbyWu1rm5EGj8LCBHJJ8KJO5rdVs821ue0prD+qEOUB /4FFWf99XmTskpNOjPWD+hkUlZrCann+rTnTz7F6L7SUarGhMYZ1eDwEuWpWUOBH tmppXAe1PW4FnUWG309oNxytYjFP0z4HmcNssFD75pjNfz5aiKIT6ZirrwGK+ncY GC0D84KWN1Ino2I8QBsGY8Y9XQDleMQz3Bf5r9xGYwb/CAH1sP9Srg44GZtWMML7 cwrO6INh/4z8l+L9sdxJnFukpibb7OleE9o86Vs1x7pmhOEQP8GTn+kAJcYdixL0 iRv2y+PClSmPX0Nkk6gXA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrfeeguddgkedtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefkffggfgfuvfhfhfgjtgfgsehtje ertddtvdejnecuhfhrohhmpeetughrihgrnhcumfhlrghvvghruceorggurhhirghnrdhk lhgrvhgvrhesrghklhgrvhgvrhdrtghomheqnecuggftrfgrthhtvghrnhepueekudevhe eljeetudelieeguddthfefffelvdeigfdtkeeivdfghfdtgfeglefgnecuffhomhgrihhn pegrmhgriihonhdrtghomhenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmh grihhlfhhrohhmpegrughrihgrnhdrkhhlrghvvghrsegrkhhlrghvvghrrdgtohhm X-ME-Proxy: Feedback-ID: i76984098:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 24 Jun 2024 10:44:36 -0400 (EDT) Message-ID: Date: Mon, 24 Jun 2024 07:44:36 -0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Execute permission to function To: arun chirappurath , pgsql-general@lists.postgresql.org References: Content-Language: en-US From: Adrian Klaver In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 6/24/24 03:29, arun chirappurath wrote: > Hi all > > I am using rds postgres 14. I have created few users and added them to > pg_readall_data and pg_write_alldata groups > > > They are able to read all data and do update in tables > > However they can't execute functions and not able to script out objects > from pg_admin The above are two separate issues. Provide examples of what you are doing and the errors you get when you do them. > > Any other role to be added? You probably should take a look at: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Appendix.PostgreSQL.CommonDBATasks.Roles.html#Appendix.PostgreSQL.CommonDBATasks.Access > > Thanks, > Arun -- Adrian Klaver adrian.klaver@aklaver.com