pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter.eisentraut@enterprisedb.com>
To: Jeff Davis <jdavis@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Add grantable MAINTAIN privilege and pg_maintain role.
Date: Sat, 15 Apr 2023 20:47:07 +0200
Message-ID: <766f3799-0269-162f-ba63-4cae34a5534f@enterprisedb.com> (raw)
In-Reply-To: <E1p5Ggg-003TIT-V3@gemulon.postgresql.org>
References: <E1p5Ggg-003TIT-V3@gemulon.postgresql.org>

On 14.12.22 02:35, Jeff Davis wrote:
> Add grantable MAINTAIN privilege and pg_maintain role.
> 
> Allows VACUUM, ANALYZE, REINDEX, REFRESH MATERIALIZED VIEW, CLUSTER,
> and LOCK TABLE.
> 
> Effectively reverts 4441fc704d. Instead of creating separate
> privileges for VACUUM, ANALYZE, and other maintenance commands, group
> them together under a single MAINTAIN privilege.
> 
> Author: Nathan Bossart
> Discussion: https://postgr.es/m/20221212210136.GA449764@nathanxps13
> Discussion: https://postgr.es/m/45224.1670476523@sss.pgh.pa.us

This commit removed RangeVarCallbackOwnsTable(), but there is still a 
mention of it in a comment in src/backend/commands/tablecmds.c.  Maybe 
that mention can simply be removed, or the comment rephrased.






view thread (3+ messages)  latest in thread

Message-ID: <766f3799-0269-162f-ba63-4cae34a5534f@enterprisedb.com>
Permalink:  ../766f3799-0269-162f-ba63-4cae34a5534f@enterprisedb.com/
Also on:    postgresql.org/message-id/766f3799-0269-162f-ba63-4cae34a5534f@enterprisedb.com

 · 

reply

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-committers@postgresql.org
  Cc: peter.eisentraut@enterprisedb.com, jdavis@postgresql.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Add grantable MAINTAIN privilege and pg_maintain role.
  In-Reply-To: <766f3799-0269-162f-ba63-4cae34a5534f@enterprisedb.com>

* 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