Re: Predefined role pg_maintenance for VACUUM, ANALYZE, CHECKPOINT.

From: "Bossart, Nathan" <bossartn(at)amazon(dot)com>
To: Jeff Davis <pgsql(at)j-davis(dot)com>, Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
Cc: Stephen Frost <sfrost(at)snowman(dot)net>, Bharath Rupireddy <bharath(dot)rupireddyforpostgres(at)gmail(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Predefined role pg_maintenance for VACUUM, ANALYZE, CHECKPOINT.
Date: 2021-10-26 00:07:11
Message-ID: 0282D099-11ED-45AE-93DB-E0B974F485DF@amazon.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 10/25/21, 4:40 PM, "Jeff Davis" <pgsql(at)j-davis(dot)com> wrote:
> On Mon, 2021-10-25 at 17:55 -0300, Alvaro Herrera wrote:
>> Maybe you just need pg_checkpointer.
>
> Fair enough. Attached simpler patch that only covers checkpoint, and
> calls the role pg_checkpointer.

It feels a bit excessive to introduce a new predefined role just for
this. Perhaps this could be accomplished with a new function that
could be granted.

Nathan

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Thomas Munro 2021-10-26 00:39:53 Re: Spelling change in LLVM 14 API
Previous Message Bossart, Nathan 2021-10-25 23:58:31 Re: Allow pg_signal_backend members to use pg_log_backend_memory_stats().