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 1q7rEM-00065r-2E for pgsql-committers@arkaria.postgresql.org; Sat, 10 Jun 2023 05:33:42 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1q7rEK-0008WC-TE for pgsql-committers@arkaria.postgresql.org; Sat, 10 Jun 2023 05:33:40 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1q7rEK-0008W3-M2 for pgsql-committers@lists.postgresql.org; Sat, 10 Jun 2023 05:33:40 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1q7rEE-001Cl0-0r; Sat, 10 Jun 2023 05:33:39 +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 35A5XVUj573015; Sat, 10 Jun 2023 01:33:31 -0400 From: Tom Lane To: Jeff Davis cc: Jeff Davis , pgsql-committers@lists.postgresql.org Subject: Re: pgsql: Fix search_path to a safe value during maintenance operations. In-reply-to: References: <89a415b86d5421941e4281ba5bf6288934078624.camel@j-davis.com> Comments: In-reply-to Jeff Davis message dated "Fri, 09 Jun 2023 17:37:57 -0700" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <573013.1686375211.1@sss.pgh.pa.us> Date: Sat, 10 Jun 2023 01:33:31 -0400 Message-ID: <573014.1686375211@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Jeff Davis writes: > Attached a patch to mark those functions as PARALLEL UNSAFE, which > fixes the problem. > Alternatively, I could just take out that line, as those SQL functions > are not controlled by the MAINTAIN privilege. But for consistency I > think it's a good idea to leave it in so that index functions are > called with the right search path for amcheck. I concur with the upthread objection that it is way too late in the release cycle to be introducing a breaking change like this. I request that you revert it. regards, tom lane