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

Jeff Davis <pgsql@j-davis.com>

From: Jeff Davis <pgsql@j-davis.com>
To: Robert Haas <robertmhaas@gmail.com>
Cc: Stephen Frost <sfrost@snowman.net>, "Bossart, Nathan" <bossartn@amazon.com>, "pgsql-hackers@postgresql.org" <pgsql-hackers@postgresql.org>, Alvaro Herrera <alvherre@alvh.no-ip.org>, Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
Date: 2021-11-04T21:25:54Z
Lists: pgsql-hackers
On Thu, 2021-11-04 at 12:37 -0400, Robert Haas wrote:
> I don't have anything specific to propose, which I realize is kind of
> unhelpful ... but I don't like this, either.

We can go back to having a pg_checkpoint predefined role that is only
used for the CHECKPOINT command.

The only real argument against that was a general sense of clutter, but
I wasn't entirely convinced of that. If we have a specialized command,
we have all kinds of clutter associated with that; a predefined role
doesn't add much additional clutter.

Regards,
	Jeff Davis





Commits

  1. Add pg_checkpointer predefined role for CHECKPOINT command.