Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1buMgp-0004kL-5f for pgsql-hackers@arkaria.postgresql.org; Wed, 12 Oct 2016 16:47:35 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1buMgo-0003KF-Os for pgsql-hackers@arkaria.postgresql.org; Wed, 12 Oct 2016 16:47:34 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1buMgo-0003K9-BG for pgsql-hackers@postgresql.org; Wed, 12 Oct 2016 16:47:34 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1buMgl-00063G-S4 for pgsql-hackers@postgresql.org; Wed, 12 Oct 2016 16:47:33 +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 u9CGlTQt031375; Wed, 12 Oct 2016 12:47:29 -0400 From: Tom Lane To: Albe Laurenz cc: "pgsql-hackers@postgreSQL.org" Subject: Re: Add PGDLLEXPORT to PG_FUNCTION_INFO_V1 In-reply-to: References: <5586.1476276329@sss.pgh.pa.us> <8027.1476279261@sss.pgh.pa.us> <10909.1476282370@sss.pgh.pa.us> Comments: In-reply-to Albe Laurenz message dated "Wed, 12 Oct 2016 14:54:49 -0000" Date: Wed, 12 Oct 2016 12:47:29 -0400 Message-ID: <31374.1476290849@sss.pgh.pa.us> X-Pg-Spam-Score: -2.2 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org Albe Laurenz writes: > Tom Lane wrote: >> I'm okay with adding PGDLLEXPORT to the extern, but we should update >> that comment to note that it's not necessary with any of our standard >> Windows build processes. (For that matter, the comment fails to explain >> why this macro is providing an extern for the base function at all...) > Here is a patch for that, including an attempt to improve the comment. Pushed with some further twiddling of the comment. regards, tom lane -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers