Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tk6YN-0000X1-V7 for pgsql-general@arkaria.postgresql.org; Mon, 17 Feb 2025 19:13:15 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1tk6YM-001qHi-3b for pgsql-general@arkaria.postgresql.org; Mon, 17 Feb 2025 19:13:14 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tk6YL-001qGa-OU for pgsql-general@lists.postgresql.org; Mon, 17 Feb 2025 19:13:13 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1tk6YJ-001PE5-11 for pgsql-general@lists.postgresql.org; Mon, 17 Feb 2025 19:13:13 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 51HJD90p861661; Mon, 17 Feb 2025 14:13:09 -0500 From: Tom Lane To: "David G. Johnston" cc: Ayush Vatsa , "pgsql-general@lists.postgresql.org" Subject: Re: Clarification on Role Access Rights to Table Indexes In-reply-to: References: <855988.1739816850@sss.pgh.pa.us> Comments: In-reply-to "David G. Johnston" message dated "Mon, 17 Feb 2025 11:43:04 -0700" MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-ID: <861659.1739819589.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Mon, 17 Feb 2025 14:13:09 -0500 Message-ID: <861660.1739819589@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk "David G. Johnston" writes: > On Monday, February 17, 2025, Tom Lane wrote: >> You'd really have to take that up with the author of pg_prewarm. > This is our contrib module so this seems like the expected place to ask > such a question. It=E2=80=99s neither a bug nor a topic for -hackers. = FTR, Robert > Haas is the author from 2013. Not sure he monitors -general though. Ah, you are right, I was thinking it was a third-party extension. If we're talking about changing the behavior of a contrib module, I think -hackers would be the appropriate location for that. And it does seem like this deserves a fresh look. As it stands, a superuser can prewarm an index (because she bypasses all privilege checks including this one), but nobody else can. Seems weird. regards, tom lane