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 1qF6O1-00078b-Vp for pgsql-hackers@arkaria.postgresql.org; Fri, 30 Jun 2023 05:09:38 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1qF6O0-0006EX-JN for pgsql-hackers@arkaria.postgresql.org; Fri, 30 Jun 2023 05:09:36 +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 1qF6Nz-0006EO-Sm for pgsql-hackers@lists.postgresql.org; Fri, 30 Jun 2023 05:09:36 +0000 Received: from mail-ot1-x32d.google.com ([2607:f8b0:4864:20::32d]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1qF6Np-001DlJ-2I for pgsql-hackers@postgresql.org; Fri, 30 Jun 2023 05:09:34 +0000 Received: by mail-ot1-x32d.google.com with SMTP id 46e09a7af769-6b44b5adfd3so1272483a34.3 for ; Thu, 29 Jun 2023 22:09:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1688101764; x=1690693764; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=4elRepyZ63SXS52ToOfzPwfuPJQKbkXY3l2Ae3NObzA=; b=YGMu7jWtuzbwk341aSlugCCdevQ4G6hDKkAAlYQtriMzVGhIlG14EUwzpPHYI0Jqlk AflE3bzXJE3Rh3A7GAhI3IP+claiyxEsDrtV3SObSHIl9BFC+VSaDQp1S36ox/lrLYWc sPDDU8GvnyaAaV6KP/cnUwDzDwOpT5rha9nqywaF5jRU+E+NpsCvFgNtiHvA5ylDpD3P rJ7NoI/R/C72HTCwD0CTCHmNvK8EhgPyxZ3AcoN3nVJAhNzZ3rKMYTyeM5OrRr09q5ow cJ9G6Ftec8uXIWOF8q5mVOeLIT0YIbLEa3Hju380XWywhOnYZrCu+YPB5GW1RRdA4cU7 m6ag== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688101764; x=1690693764; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=4elRepyZ63SXS52ToOfzPwfuPJQKbkXY3l2Ae3NObzA=; b=OP/Zj8EMrfeKY+Xk8v4GQfhA5rSf8jgtP7Kjosf35Lwjijaivh2iBRVfgFG5tLnlfI SfYQxZIzPeqw+0645nWA2fymgNv+/3i/qj5BwWcHtGZK2EfYbGm71LSWuFUBupnf8tri /jF6XKqGDORoCrs9cs9gDPrmcIiLl4lrFHhE0/m/DpRs4/VtlQHZTxUe7pjGUmnpw7nl jgXsuNe5ynGHi27kyd42kNMzJJmxUoL+Eit4cRL1X8/jOxmMQJVDnR3zkfDp1dGQNGf8 eLT7yr/SzAoQpt5K6ZRcvvFwPTgnHxV+AbFw8TPUrqNCNh11E1Gr5ShWUgJ3bhQKwQhI t/KQ== X-Gm-Message-State: ABy/qLa8DIlRg3r8pUZmMVKweKmK7JdFATnnPfpuj8B/P1Ahpoh8zZCl 34c5rLTHa6FGTN9sY089FJQ= X-Google-Smtp-Source: APBJJlH/5pPlQrXpqR6ixYXlrVzd2ghappuK8gLy8y+A+yt+YW/GkC2MzoSrfPbkuYTcRFbt8xm7Tw== X-Received: by 2002:a05:6359:a23:b0:134:d78f:67bc with SMTP id el35-20020a0563590a2300b00134d78f67bcmr1607049rwb.14.1688101764306; Thu, 29 Jun 2023 22:09:24 -0700 (PDT) Received: from nathanxps13 ([50.47.162.83]) by smtp.gmail.com with ESMTPSA id jk4-20020a170903330400b001b672af624esm5718850plb.164.2023.06.29.22.09.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Jun 2023 22:09:23 -0700 (PDT) Date: Thu, 29 Jun 2023 22:09:21 -0700 From: Nathan Bossart To: Tom Lane Cc: Jeff Davis , Robert Haas , Noah Misch , "pgsql-hackers@postgresql.org" Subject: Re: pgsql: Fix search_path to a safe value during maintenance operations. Message-ID: <20230630050921.GA2640352@nathanxps13> References: <20230612170510.GA201972@gust.leadboat.com> <20230613182920.GA259321@gust.leadboat.com> <1799839.1686687804@sss.pgh.pa.us> <4df537f5a0d8c0ceac3eec3809d1144880b8e76d.camel@j-davis.com> <578fb4be80247570e6a05924908765a0b345971e.camel@j-davis.com> <43bbc9f7318057f51552d5986830908cb018dadf.camel@j-davis.com> <1659699.1688086436@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="liOOAslEiF7prFVr" Content-Disposition: inline In-Reply-To: <1659699.1688086436@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --liOOAslEiF7prFVr Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, Jun 29, 2023 at 08:53:56PM -0400, Tom Lane wrote: > I'm leaning to Robert's thought that we need to revert this for now, > and think harder about how to make it work cleanly and safely. Since it sounds like this is headed towards a revert, here's a patch for removing MAINTAIN and pg_maintain. -- Nathan Bossart Amazon Web Services: https://aws.amazon.com --liOOAslEiF7prFVr Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="v1-0001-Revert-MAINTAIN-privilege-and-pg_maintain-predefi.patch"