Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mf70W-0000nX-U4 for pgsql-hackers@arkaria.postgresql.org; Mon, 25 Oct 2021 20:55:48 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mf70U-0005UR-DE for pgsql-hackers@arkaria.postgresql.org; Mon, 25 Oct 2021 20:55:46 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mf70U-0005UI-4m for pgsql-hackers@lists.postgresql.org; Mon, 25 Oct 2021 20:55:46 +0000 Received: from out5-smtp.messagingengine.com ([66.111.4.29]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mf70R-0005Qk-1B for pgsql-hackers@postgresql.org; Mon, 25 Oct 2021 20:55:45 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 3DB605C02EA; Mon, 25 Oct 2021 16:55:41 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Mon, 25 Oct 2021 16:55:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:subject:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; bh=QWRycsg/DBDMzlbrZ9VRA6FwpV3H3zmthHhrCz5kaCo=; b=lQCl8vV5 WyIr120/r0rqy3f57e3VqSNqNlpRzKRDb8QdNR48qnUOkhD2xn4htjHu/O7Biv4u tQWu9N2/GzT+MdAJxWpMIc4X8iTkk2YAZf1+vV6Q51fiogLZymX/BkVwf7ZkkGjO 3ptWZyZWRHkneHXFIMGFS8Jj9HXc4KShNayWyglQhlX63MlyvrVtfhPtSzff0a8p hzANiytuGoJoRDBVcCA1IisdPn7vegoj0D2ICUeDZOLROJoAVoGcke0JxhsSGX8M ifKm+nBF88TOJLMkX2ULIVayVYPprJaCkbKwzqPhjzpMtChc23Zsd2sZ4nbbupRx +nE667D4DwcBRw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrvdefhedgudduhecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpeffhffvuffkgggtugfgjgesthekredttddtjeenucfhrhhomheptehlvhgr rhhoucfjvghrrhgvrhgruceorghlvhhhvghrrhgvsegrlhhvhhdrnhhoqdhiphdrohhrgh eqnecuggftrfgrthhtvghrnhepudejveejffejveduudetvdekieeuiedtvdeileefkeev jedufeeguedvjefhueelnecuffhomhgrihhnpegvnhhtvghrphhrihhsvggusgdrtghomh enucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegrlhhv hhgvrhhrvgesrghlvhhhrdhnohdqihhprdhorhhg X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 25 Oct 2021 16:55:40 -0400 (EDT) Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id E3DB12A083F; Mon, 25 Oct 2021 17:55:36 -0300 (-03) Date: Mon, 25 Oct 2021 17:55:36 -0300 From: Alvaro Herrera To: Jeff Davis Cc: Stephen Frost , "Bossart, Nathan" , Bharath Rupireddy , PostgreSQL-development Subject: Re: Predefined role pg_maintenance for VACUUM, ANALYZE, CHECKPOINT. Message-ID: <202110252055.soecywkiu6gi@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <599f3d89e1c44494ad7994b6159f51a158fa2fa9.camel@j-davis.com> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 2021-Oct-25, Jeff Davis wrote: > But CHECKPOINT right now has an explicit superuser check, and it would > be nice to be able to avoid that. > > It's pretty normal to issue a CHECKPOINT right after a data load and > before running a performance test, right? Shouldn't there be some way > to do that without superuser? Maybe you just need pg_checkpointer. -- Álvaro Herrera Valdivia, Chile — https://www.EnterpriseDB.com/