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 1ktzRB-0006hE-49 for pgsql-bugs@arkaria.postgresql.org; Mon, 28 Dec 2020 20:48:17 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1ktzRA-0007Oy-1s for pgsql-bugs@arkaria.postgresql.org; Mon, 28 Dec 2020 20:48:16 +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 1ktzR9-0007Or-Rt for pgsql-bugs@lists.postgresql.org; Mon, 28 Dec 2020 20:48:15 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ktzR7-0003d4-UC for pgsql-bugs@lists.postgresql.org; Mon, 28 Dec 2020 20:48:14 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 0BSKmCWV1849915; Mon, 28 Dec 2020 15:48:12 -0500 From: Tom Lane To: ken.karma@gmail.com cc: pgsql-bugs@lists.postgresql.org Subject: Re: BUG #16795: Can't give "grant execute on pg_start_backup to .." In-reply-to: <16795-0d02ad33c474bfbe@postgresql.org> References: <16795-0d02ad33c474bfbe@postgresql.org> Comments: In-reply-to PG Bug reporting form message dated "Mon, 28 Dec 2020 19:29:46 +0000" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1849913.1609188492.1@sss.pgh.pa.us> Date: Mon, 28 Dec 2020 15:48:12 -0500 Message-ID: <1849914.1609188492@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk PG Bug reporting form writes: > postgres=# grant EXECUTE on pg_catalog.pg_start_backup to backup ; > ERROR: relation "pg_catalog.pg_start_backup" does not exist pg_start_backup is a function not a table. Try grant execute on function pg_start_backup to backup; (In versions before PG10 you'd need to specify the function's arguments too. Newer versions allow this shortcut as long as there's only one function by that name.) regards, tom lane