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 1opV4K-00018H-SA for pgsql-hackers@arkaria.postgresql.org; Mon, 31 Oct 2022 13:43:12 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1opV4J-0001Oa-MP for pgsql-hackers@arkaria.postgresql.org; Mon, 31 Oct 2022 13:43:11 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1opV4J-0001OR-Co for pgsql-hackers@lists.postgresql.org; Mon, 31 Oct 2022 13:43:11 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1opV4H-0001Ad-0B for pgsql-hackers@lists.postgresql.org; Mon, 31 Oct 2022 13:43:11 +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 29VDh52e527892; Mon, 31 Oct 2022 09:43:05 -0400 From: Tom Lane To: Justin Pryzby cc: Maciek Sakrejda , Robert Haas , "David G. Johnston" , Bharath Rupireddy , Cary Huang , pgsql-hackers@lists.postgresql.org Subject: Re: warn if GUC set to an invalid shared library In-reply-to: <20221031133120.GO16921@telsasoft.com> References: <20220722015412.GA7789@telsasoft.com> <675610.1658512401@sss.pgh.pa.us> <20220722183557.GC7789@telsasoft.com> <729940.1658516423@sss.pgh.pa.us> <20220722191443.GE7789@telsasoft.com> <734432.1658518007@sss.pgh.pa.us> <20220902222458.GC31833@telsasoft.com> <20221029174053.GA19704@telsasoft.com> <20221031133120.GO16921@telsasoft.com> Comments: In-reply-to Justin Pryzby message dated "Mon, 31 Oct 2022 08:31:20 -0500" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <527890.1667223785.1@sss.pgh.pa.us> Date: Mon, 31 Oct 2022 09:43:05 -0400 Message-ID: <527891.1667223785@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Justin Pryzby writes: > On Sun, Oct 30, 2022 at 04:12:33PM -0700, Maciek Sakrejda wrote: >> Also, for what it's worth, I think requiring the libraries to be in >> place before running ALTER SYSTEM does not really seem that onerous. I >> can't really think of use cases it precludes. > Right now, it's allowed to set the GUC before installing the shlib. > That's a supported case (see the 11 month old messages toward the > beginning of this thread). Yeah, I am afraid that you will break assorted dump/restore and pg_upgrade scenarios if you insist on that. regards, tom lane