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.