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 1qFIyH-0001Vd-Fd for pgsql-hackers@arkaria.postgresql.org; Fri, 30 Jun 2023 18:35:53 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1qFIyG-00046P-6H for pgsql-hackers@arkaria.postgresql.org; Fri, 30 Jun 2023 18:35:52 +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 1qFIyF-00046F-TY for pgsql-hackers@lists.postgresql.org; Fri, 30 Jun 2023 18:35:51 +0000 Received: from mail-io1-xd29.google.com ([2607:f8b0:4864:20::d29]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1qFIyD-001K67-KJ for pgsql-hackers@postgresql.org; Fri, 30 Jun 2023 18:35:50 +0000 Received: by mail-io1-xd29.google.com with SMTP id ca18e2360f4ac-78372b895d6so93575239f.2 for ; Fri, 30 Jun 2023 11:35:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1688150149; x=1690742149; 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=1s/qXSOgOpjAoEjovUCfojUug+XRj6i8IIa6Qx9/BpU=; b=mixpxeiO5M7wSLGgdC0kmuMh6PLA3IFP0rTnIztHtc/3qsRX/vKCFvljTsd8nLH8vb fh0tFZG13DsrhjjvtWzM8Pt3L3V3AuYsxK7FfaEcTJc4kb9mYQy3jj7kVuqEmuMjj0HC SC5wnbo3XqoauTqmcjzXr+W2sR/5c36VzydUTe9CEoN18xxov1vzZ7XN6CldA8y5M3ES yzDFT//X6jJLpANtGF5trBnqo7qf5ahiYTIIeA7Bb5qmaY0sjycZ3jWXUvmVurZ/VYGM Y0BNgC6Drl4TCophNlYzx9c+TYB0cPD6701t3LxG0gSDengfZiVWup4joChM5w9G5HFC bOAA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688150149; x=1690742149; 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=1s/qXSOgOpjAoEjovUCfojUug+XRj6i8IIa6Qx9/BpU=; b=QMkYjeiPeI7lELKYprHbDTdJjXlHme7+R1SrAMjwxeLLE7GQ9//dfYsnEU0kEbF7+3 H5DlUIrkpuXtCRBzgENgskra8HNDBBVgq4+nAuM9YU7NXdIYEUS8wMKsaRvbsRNhKBOp SlqCZq6xvr6B0FxI76gsTqLXGcePq0y38XZE0j8GB+hxU5E8JnK6Rt8STA0mlkIJ5RgT m9Au30FF9YZJxU/3RnWYlQZRdhIAwt7HkbEldkIOiIeyc8Vefe2cmHz8iq8LCc2CHtIk vr7Wa+QzNIRUN0hdkirvn6449zsf1KJGHy8fvGz3kOU9qE0Yr2QyQZujDxYYeWwxn57Z +SsQ== X-Gm-Message-State: AC+VfDxQ1Sc+nEgZ+bvdahnuOAuL3huHBwnDx9wElUPAbT7pct7EY5S0 ajcPpqd3qov0fEOoFnNoCBM= X-Google-Smtp-Source: ACHHUZ45GuPjT/4aXX0qFoHRxJYOSaKgslnaoUFq5aYXcNxvQrXRn9ixoOG7d9ayN9L9FmLIU5nrTw== X-Received: by 2002:a6b:6814:0:b0:779:c221:eb62 with SMTP id d20-20020a6b6814000000b00779c221eb62mr3941453ioc.15.1688150148958; Fri, 30 Jun 2023 11:35:48 -0700 (PDT) Received: from nathanxps13 ([50.216.92.209]) by smtp.gmail.com with ESMTPSA id c21-20020a630d15000000b0055b44a901absm3006355pgl.70.2023.06.30.11.35.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 30 Jun 2023 11:35:48 -0700 (PDT) Date: Fri, 30 Jun 2023 11:35:46 -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: <20230630183546.GB2828237@nathanxps13> References: <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> <20230630050921.GA2640352@nathanxps13> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230630050921.GA2640352@nathanxps13> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Thu, Jun 29, 2023 at 10:09:21PM -0700, Nathan Bossart wrote: > 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. I will revert this next week unless opinions change before then. I'm currently planning to revert on both master and REL_16_STABLE, but another option would be to keep it on master while we sort out the remaining issues. Thoughts? -- Nathan Bossart Amazon Web Services: https://aws.amazon.com