pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alvaro Herrera <alvherre@alvh.no-ip.org>
To: Jeff Davis <pgsql@j-davis.com>
Cc: Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
Cc: Bossart, Nathan <bossartn@amazon.com>
Cc: Stephen Frost <sfrost@snowman.net>
Cc: PostgreSQL-development <pgsql-hackers@postgresql.org>
Subject: Re: Predefined role pg_maintenance for VACUUM, ANALYZE, CHECKPOINT.
Date: Sat, 30 Oct 2021 21:26:26 -0300
Message-ID: <202110310026.zmhkxct6ka6c@alvherre.pgsql> (raw)
In-Reply-To: <2f6c033019c3a1ec499b516e3e54022b7bcdb58a.camel@j-davis.com>

On 2021-Oct-30, Jeff Davis wrote:

> I tend to agree with all of this. The CHECKPOINT command is already
> there and people already use it. If we are already chipping away at the
> need for superuser elsewhere, we should offer a way to use CHECKPOINT
> without being superuser.

+1

> If the purpose[0] of predefined roles is that they allow you to do
> things that can't be expressed by GRANT, a predefined role
> pg_checkpointer seems to fit the bill.

+1

> The main argument against[1] having a pg_checkpointer predefined role
> is that it creates a clutter of predefined roles. But it seems like
> just another part of the clutter of having a special SQL command merely
> for requesting a checkpoint.

+1

-- 
Álvaro Herrera         PostgreSQL Developer  —  https://www.EnterpriseDB.com/
Y una voz del caos me habló y me dijo
"Sonríe y sé feliz, podría ser peor".
Y sonreí. Y fui feliz.
Y fue peor.





view thread (65+ messages)  latest in thread

Message-ID: <202110310026.zmhkxct6ka6c@alvherre.pgsql>
Permalink:  ../202110310026.zmhkxct6ka6c@alvherre.pgsql/
Also on:    postgresql.org/message-id/202110310026.zmhkxct6ka6c@alvherre.pgsql

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-hackers@postgresql.org
  Cc: alvherre@alvh.no-ip.org, pgsql@j-davis.com, bharath.rupireddyforpostgres@gmail.com, bossartn@amazon.com, sfrost@snowman.net
  Subject: Re: Predefined role pg_maintenance for VACUUM, ANALYZE, CHECKPOINT.
  In-Reply-To: <202110310026.zmhkxct6ka6c@alvherre.pgsql>
  References: <2f6c033019c3a1ec499b516e3e54022b7bcdb58a.camel@j-davis.com> <202110310026.zmhkxct6ka6c@alvherre.pgsql>

* 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