pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bossart, Nathan <bossartn@amazon.com>
To: Jeff Davis <pgsql@j-davis.com>
To: Alvaro Herrera <alvherre@alvh.no-ip.org>
Cc: Stephen Frost <sfrost@snowman.net>
Cc: Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
Cc: PostgreSQL-development <pgsql-hackers@postgresql.org>
Subject: Re: Predefined role pg_maintenance for VACUUM, ANALYZE, CHECKPOINT.
Date: Tue, 26 Oct 2021 00:07:11 +0000
Message-ID: <0282D099-11ED-45AE-93DB-E0B974F485DF@amazon.com> (raw)
In-Reply-To: <baebf454bf12de663c57021715d965641f679209.camel@j-davis.com>
References: <202110252055.soecywkiu6gi@alvherre.pgsql>
	<baebf454bf12de663c57021715d965641f679209.camel@j-davis.com>

On 10/25/21, 4:40 PM, "Jeff Davis" <pgsql@j-davis.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



view thread (65+ messages)  latest in thread

Message-ID: <0282D099-11ED-45AE-93DB-E0B974F485DF@amazon.com>
Permalink:  ../0282D099-11ED-45AE-93DB-E0B974F485DF@amazon.com/
Also on:    postgresql.org/message-id/0282D099-11ED-45AE-93DB-E0B974F485DF@amazon.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 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: bossartn@amazon.com, pgsql@j-davis.com, alvherre@alvh.no-ip.org, sfrost@snowman.net, bharath.rupireddyforpostgres@gmail.com
  Subject: Re: Predefined role pg_maintenance for VACUUM, ANALYZE, CHECKPOINT.
  In-Reply-To: <0282D099-11ED-45AE-93DB-E0B974F485DF@amazon.com>
  References: <202110252055.soecywkiu6gi@alvherre.pgsql> <baebf454bf12de663c57021715d965641f679209.camel@j-davis.com> <0282D099-11ED-45AE-93DB-E0B974F485DF@amazon.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