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 1kxtvo-0000s6-5g for pgsql-general@arkaria.postgresql.org; Fri, 08 Jan 2021 15:44:04 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kxtvm-0002WO-Qi for pgsql-general@arkaria.postgresql.org; Fri, 08 Jan 2021 15:44:02 +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 1kxtvm-0002WH-Jb for pgsql-general@lists.postgresql.org; Fri, 08 Jan 2021 15:44:02 +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 1kxtvk-0005Dg-MJ for pgsql-general@postgresql.org; Fri, 08 Jan 2021 15:44:02 +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 108FhwQv284623; Fri, 8 Jan 2021 10:43:58 -0500 From: Tom Lane To: Jack Orenstein cc: pgsql-general@postgresql.org Subject: Re: Missing declaration of _PG_init() In-reply-to: References: Comments: In-reply-to Jack Orenstein message dated "Fri, 08 Jan 2021 09:49:44 -0500" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <284621.1610120638.1@sss.pgh.pa.us> Date: Fri, 08 Jan 2021 10:43:58 -0500 Message-ID: <284622.1610120638@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Jack Orenstein writes: > Should _PG_init(void) be declared in someplace included by postgres.h or > fmgr.h? No, because it's something a given module might or might not provide. Also, a global extern might give the impression that this was a global function that the core code provides, rather than a per-module function. regards, tom lane