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 1q9f5I-0008Oh-K9 for pgsql-committers@arkaria.postgresql.org; Thu, 15 Jun 2023 04:59: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 1q9f5H-0007FU-Gc for pgsql-committers@arkaria.postgresql.org; Thu, 15 Jun 2023 04:59:47 +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 1q9f5H-0007FK-9Q for pgsql-committers@lists.postgresql.org; Thu, 15 Jun 2023 04:59:47 +0000 Received: from mail-pl1-x62e.google.com ([2607:f8b0:4864:20::62e]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1q9f5E-002HnJ-27 for pgsql-committers@lists.postgresql.org; Thu, 15 Jun 2023 04:59:45 +0000 Received: by mail-pl1-x62e.google.com with SMTP id d9443c01a7336-1b3afd2f9bdso32861015ad.0 for ; Wed, 14 Jun 2023 21:59:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=j-davis-com.20221208.gappssmtp.com; s=20221208; t=1686805183; x=1689397183; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:from:to:cc:subject :date:message-id:reply-to; bh=G/e9Jfw3Q0pAJs6U3BRhPwvF+8tAQZWEnhTLhN282J0=; b=lPVh9aHnbYEHsxwrO1Ui8HdsEiYkZDG0PoDImcRw0pZ47ih9xCDo6sLfXJnk7/LnZ/ B7iOvgSr+tCcTyIlXDQpRkOHgsbzc2x5BBin6Oy/VM6raYKLqXH/6+FelGO9OQyJ8ksm U6PgG6S2RDT1Gvjsp0kWT2HQdH9zB+UDR+lPfQYO0WR/UlA/EbXT6i6ZTqhu+0HYiSOC 3QEV8MgJpB6LsqOsE6ahLezpIOqaWWAxSSOju7fH+rP6dIrnTCmlqp+GqFHFnA5LBmD7 FYD8ycWklvqoOMeL9KECuLNDh7xSnZtcJQaJLQfV+CnraWgIbj3lxXg2hSe6J0/r08jG TNzw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686805183; x=1689397183; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=G/e9Jfw3Q0pAJs6U3BRhPwvF+8tAQZWEnhTLhN282J0=; b=BYeql/x3Ne+3xrNPq3GTI027dNzx3Of5jQicUbXEix4mQESvnxF7BM6eXQZ1EWTTTX EJYb/vPpHTPE5Qnfw6T2753R6Jy9bzvHWLraVER4CRiRBHVTclhMoBnzCAJsb4vH+5dq 5eFILfCY20Xe3DYLL4l+F/y7FCTXJmxeb1jndHWiM8wZ+Lv6zr26VJ8pVqoOIzO2qiKH A5WsQucfRTwzLRCXg8u2ThDdsaqwOKUFJsroLmMrDmKWdyHSSgaa1q31fa0BOrflCYjI oTZ3gLk1I6DEj6GEbyX4Enyw92qRfK+1owk7WgBfOd2/XU1SYFlBVP1QHj0WEm85EqXi n9CA== X-Gm-Message-State: AC+VfDw4msKANH1rkOHA538idSPvRJ6A8CExtGMFp/v+Ow5qEE6oGJcD LJ9ER1yoYZV/8UCqanwnCsxbjw== X-Google-Smtp-Source: ACHHUZ5QPNguTovyudBxvDT0v1efWJc5gIN/ax7SZ2jWzVnDDDDALuOZIhZKN9x/bD2Rifz9psJvzQ== X-Received: by 2002:a17:902:ce87:b0:1b0:4718:8832 with SMTP id f7-20020a170902ce8700b001b047188832mr15439422plg.63.1686805182933; Wed, 14 Jun 2023 21:59:42 -0700 (PDT) Received: from jeff-laptop.lan (c-73-170-46-202.hsd1.ca.comcast.net. [73.170.46.202]) by smtp.gmail.com with ESMTPSA id io21-20020a17090312d500b001a5fccab02dsm13015184plb.177.2023.06.14.21.59.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Jun 2023 21:59:42 -0700 (PDT) Message-ID: <4df537f5a0d8c0ceac3eec3809d1144880b8e76d.camel@j-davis.com> Subject: Re: pgsql: Fix search_path to a safe value during maintenance operations. From: Jeff Davis To: Tom Lane , Noah Misch Cc: pgsql-committers@lists.postgresql.org Date: Wed, 14 Jun 2023 21:59:40 -0700 In-Reply-To: <1799839.1686687804@sss.pgh.pa.us> References: <89a415b86d5421941e4281ba5bf6288934078624.camel@j-davis.com> <573014.1686375211@sss.pgh.pa.us> <20230612170510.GA201972@gust.leadboat.com> <20230613182920.GA259321@gust.leadboat.com> <1799839.1686687804@sss.pgh.pa.us> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.44.4-0ubuntu1 MIME-Version: 1.0 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Tue, 2023-06-13 at 16:23 -0400, Tom Lane wrote: > What I'm concerned about is making such a fundamental semantics > change > post-beta1. I have added the patch to the July CF for v17. If someone does feel like something should be done for v16, David G. Johnston posted one possibility here: https://www.postgresql.org/message-id/CAKFQuwaVJkM9u+qpOaom2UkPE1sz0BASF-E5= amxWPxncUhm4Hw@mail.gmail.com But as Noah pointed out, there are other privileges that can be abused, so a workaround for 16 might not be important if we have a likely fix for MAINTAIN coming in 17. Regards, Jeff Davis