Re: Predefined role pg_maintenance for VACUUM, ANALYZE, CHECKPOINT. - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: Predefined role pg_maintenance for VACUUM, ANALYZE, CHECKPOINT.
Date
Msg-id 202110310026.zmhkxct6ka6c@alvherre.pgsql
Whole thread Raw
In response to Re: Predefined role pg_maintenance for VACUUM, ANALYZE, CHECKPOINT.  (Jeff Davis <pgsql@j-davis.com>)
Responses Re: Predefined role pg_maintenance for VACUUM, ANALYZE, CHECKPOINT.
List pgsql-hackers
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.



pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: parallel vacuum comments
Next
From: "Bossart, Nathan"
Date:
Subject: Re: Predefined role pg_maintenance for VACUUM, ANALYZE, CHECKPOINT.