Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1ewKaC-0004q1-61 for pgsql-hackers@arkaria.postgresql.org; Thu, 15 Mar 2018 04:33:40 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1ewKaA-0003Pc-V2 for pgsql-hackers@arkaria.postgresql.org; Thu, 15 Mar 2018 04:33:38 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1ewKaA-0003PR-K5 for pgsql-hackers@lists.postgresql.org; Thu, 15 Mar 2018 04:33:38 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1ewKa8-0002lN-2G for pgsql-hackers@postgresql.org; Thu, 15 Mar 2018 04:33:37 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id w2F4XPGw022194; Thu, 15 Mar 2018 00:33:25 -0400 From: Tom Lane To: Kyotaro HORIGUCHI cc: michael@paquier.xyz, pavel.stehule@gmail.com, a.zakirov@postgrespro.ru, michael.paquier@gmail.com, pgsql-hackers@postgresql.org Subject: Re: pg_get_functiondef forgets about most GUC_LIST_INPUT GUCs In-reply-to: <20180315.132740.211673176.horiguchi.kyotaro@lab.ntt.co.jp> References: <20180314.173059.04234659.horiguchi.kyotaro@lab.ntt.co.jp> <20180314084621.GA617@paquier.xyz> <20180315.132740.211673176.horiguchi.kyotaro@lab.ntt.co.jp> Comments: In-reply-to Kyotaro HORIGUCHI message dated "Thu, 15 Mar 2018 13:27:40 +0900" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <22192.1521088405.1@sss.pgh.pa.us> Date: Thu, 15 Mar 2018 00:33:25 -0400 Message-ID: <22193.1521088405@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Kyotaro HORIGUCHI writes: > Doesn't it make sense if we provide a buildtime-script that > collects the function names and builds a .h file containing a > function using the list? Surely this is a fundamentally misguided approach. How could it handle extension GUCs? regards, tom lane