Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rMTBG-004luC-1H for pgsql-hackers@arkaria.postgresql.org; Sun, 07 Jan 2024 13:27:10 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1rMTBE-00FsaD-0A for pgsql-hackers@arkaria.postgresql.org; Sun, 07 Jan 2024 13:27:08 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rMTBD-00Fsa4-KP for pgsql-hackers@lists.postgresql.org; Sun, 07 Jan 2024 13:27:07 +0000 Received: from charmander.telsasoft.com ([50.244.222.1] helo=pryzbyj2023.telsasoft) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rMTB9-000JmB-Pb for pgsql-hackers@lists.postgresql.org; Sun, 07 Jan 2024 13:27:06 +0000 Received: by pryzbyj2023.telsasoft (Postfix, from userid 1000) id CEF21A558; Sun, 7 Jan 2024 07:27:00 -0600 (CST) Date: Sun, 7 Jan 2024 07:27:00 -0600 From: Justin Pryzby To: pgsql-hackers@lists.postgresql.org Cc: Tom Lane , Robert Haas , "David G. Johnston" , Bharath Rupireddy , Cary Huang , Maciek Sakrejda , Shubham Khanna Subject: Re: warn if GUC set to an invalid shared library Message-ID: References: <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> <20221101222634.GE16921@telsasoft.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="E4B85hAaG7CiJkTa" Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --E4B85hAaG7CiJkTa Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Fri, Jul 22, 2022 at 03:26:47PM -0400, Tom Lane wrote: > Hmph. I wonder if we shouldn't change that, because it's a lie. > The value isn't actually coming from the config file, at least > not yet. On Thu, Jul 06, 2023 at 03:15:20PM -0500, Justin Pryzby wrote: > On Sat, Oct 29, 2022 at 10:40 AM Justin Pryzby wrote: > > > > > On Fri, Sep 02, 2022 at 05:24:58PM -0500, Justin Pryzby wrote: > > > > > > It caused no issue when I changed: > > > > > > > > > > > > /* Check that it's acceptable for the indicated parameter */ > > > > > > if (!parse_and_validate_value(record, name, value, > > > > > > - PGC_S_FILE, ERROR, > > > > > > + PGC_S_TEST, ERROR, > > > > > > &newval, &newextra)) > > > > > > > > > > > > I'm not sure where to go from here. > > > > > > > > > > I'm hoping for some guidance ; this simple change may be naive, but I'm not > > > > > sure what a wider change would look like. > > I'm still hoping. @cfbot: rebased --E4B85hAaG7CiJkTa Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="v8-0001-WIP-test-GUCs-from-ALTER-SYSTEM-as-PGC_S_TEST-not.patch"