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 1qK34M-00021I-Gs for pgsql-hackers@arkaria.postgresql.org; Thu, 13 Jul 2023 20:37:46 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1qK34L-000156-Db for pgsql-hackers@arkaria.postgresql.org; Thu, 13 Jul 2023 20:37:45 +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 1qK34L-00014x-4B for pgsql-hackers@lists.postgresql.org; Thu, 13 Jul 2023 20:37:45 +0000 Received: from mail-oi1-x22e.google.com ([2607:f8b0:4864:20::22e]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1qK34H-000FZJ-ML for pgsql-hackers@postgresql.org; Thu, 13 Jul 2023 20:37:43 +0000 Received: by mail-oi1-x22e.google.com with SMTP id 5614622812f47-3a3a8d21208so1061636b6e.0 for ; Thu, 13 Jul 2023 13:37:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1689280662; x=1691872662; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=Cv31jd+QYVy4sbj+xIIfYGhtfCCfnAKWn9LFxNVdPpU=; b=SD4KVrzRnaPLE83dauBRrSMKG+qREenyJPf3slpIHn11iMAqKiB2NVySjQFxRqUZUe fac70NLR1h+YOAextcx4Ah5RgUNw+pCjru6TFrqTuSMPxaAylDdfmJgtGeAtxaFJdLGT N/CPTvHFuzj7zpdT3ijn/8HgHXvzdgXid1cXxWUy9IyJslNTmcqjwe/LC8Nc1OC3WCgM CpmGnkaQl0wyzYDvN8Z0vq/DNAmMhswOkGMxqZQ5H1U/RxM4CXbfSGlC//E8BrwZo2SQ H8VGSuMumwAU5f2SePNtRFvY/CKX0Xgn4DwS3hy/iH6z4PRBfZj/7LXUf72Xt6rveY8b WshA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689280662; x=1691872662; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=Cv31jd+QYVy4sbj+xIIfYGhtfCCfnAKWn9LFxNVdPpU=; b=jhH1xFkgs/q7SxMbgFUI9+lKXFrnpckuH8vwAH+ha5AT/GkfUPwv4PttD62Xm/5GDe vvS1H68ee8GxWrsvPbRhanQzqSGl+dx/W9/wraw+PFvRg+h6/7Vz/Tgs5aVRx56DeI4P 4Wps52DRy5ZCJp6j4B8kaz+CYVoeoxLdea5TXHtvY5KdHGDN0cTu1AgMoslfYagLJ99R F6Y8eOCR3ndbrSvfAXgulhEkTe4FKBG+fkfkGwgqN0ltndCiZXtIgjh1UBb41bxuG2G+ ezCcTcoUCypIks6NWLwCDK4QT6pbIMxuauOwzNUnWFk2sbnqbwyXbCx34MI4w+80mTWX u4iA== X-Gm-Message-State: ABy/qLaiuzg8IJCrBFjVQPB8LBprZjFoRP+/ip0HeVG7QkKpyWfnF+w4 lsXOL75Lyi5nYywuUNA1aVHqDs2SKkLIKUJ5GMM= X-Google-Smtp-Source: APBJJlFJaxyMYT7SnSBYrIRocV55zfBQxDdIP6ELJrX50h7g+Ws250TaqHf7mroLt7P9gcVcx984ayGAeN6vgJIBD8w= X-Received: by 2002:a05:6808:1249:b0:3a4:3074:2100 with SMTP id o9-20020a056808124900b003a430742100mr3771593oiv.55.1689280661823; Thu, 13 Jul 2023 13:37:41 -0700 (PDT) MIME-Version: 1.0 References: <2cf41c8edeaaf7acb757095e6eceab8ae926f3da.camel@j-davis.com> In-Reply-To: From: "David G. Johnston" Date: Thu, 13 Jul 2023 13:37:24 -0700 Message-ID: Subject: Re: Fix search_path for all maintenance commands To: Gurjeet Singh Cc: Jeff Davis , pgsql-hackers@postgresql.org, Nathan Bossart , Robert Haas , Noah Misch , Greg Stark , Tom Lane Content-Type: multipart/alternative; boundary="000000000000c6326c0600644da7" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --000000000000c6326c0600644da7 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Thu, Jul 13, 2023 at 12:54=E2=80=AFPM Gurjeet Singh w= rote: > > The approach seems good to me. My concern is with this change's > potential to cause an extended database outage. Hence sending it out > as part of v16, without any escape hatch for the DBA, is my objection. > > If this is limited to MAINT, which I'm in support of, there is no need for an "escape hatch". A prerequisite for leveraging the new feature is that you fix the code so it conforms to the new way of doing things. Tom's opinion was a general dislike for differing behavior in different situations. I dislike it too, on purist grounds, but would rather do this than not make any forward progress because we made a poor decision in the past. And I'm against simply breaking the past without any recourse as what we did for pg_dump/pg_restore still bothers me. David J. --000000000000c6326c0600644da7 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Thu, Jul 13, 2023 at 12:54=E2=80=AFPM Gurjeet Singh <= ;gurjeet@singh.im> wrote:=

The approach seems good to me. My concern is with this change's
potential to cause an extended database outage. Hence sending it out
as part of v16, without any escape hatch for the DBA, is my objection.
<= br>

If this is limited to MAINT, which I'= m in support of, there is no need for an "escape hatch".=C2=A0 A = prerequisite for leveraging the new feature is that you fix the code so it = conforms to the new way of doing things.

Tom's opi= nion was a general dislike for differing behavior in different situations.= =C2=A0 I dislike it too, on purist grounds, but would rather do this than n= ot make any forward progress because we made a poor decision in the past. A= nd I'm against simply breaking the past without any recourse as what we= did for pg_dump/pg_restore still bothers me.

David J= .

--000000000000c6326c0600644da7--