From: Tom Lane <tgl@sss.pgh.pa.us>
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 .."
Date: Mon, 28 Dec 2020 15:48:12 -0500
Message-ID: <1849914.1609188492@sss.pgh.pa.us> (raw)
In-Reply-To: <16795-0d02ad33c474bfbe@postgresql.org>
References: <16795-0d02ad33c474bfbe@postgresql.org>
PG Bug reporting form <noreply@postgresql.org> 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
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-bugs@postgresql.org
Cc: tgl@sss.pgh.pa.us, ken.karma@gmail.com, pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #16795: Can't give "grant execute on pg_start_backup to .."
In-Reply-To: <1849914.1609188492@sss.pgh.pa.us>
* 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