Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bwVpN-0000yy-VT for pgsql-hackers@arkaria.postgresql.org; Tue, 18 Oct 2016 14:57:18 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bwVpN-0003bM-0o for pgsql-hackers@arkaria.postgresql.org; Tue, 18 Oct 2016 14:57:17 +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 1bwVny-000247-PB for pgsql-hackers@postgresql.org; Tue, 18 Oct 2016 14:55:50 +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 1bwVnr-0003Vg-OL for pgsql-hackers@postgresql.org; Tue, 18 Oct 2016 14:55:50 +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 u9IEtdEk000877; Tue, 18 Oct 2016 10:55:39 -0400 From: Tom Lane To: Craig Ringer cc: Robert Haas , Albe Laurenz , "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> <31374.1476290849@sss.pgh.pa.us> <1817.1476307651@sss.pgh.pa.us> <9601.1476309997@sss.pgh.pa.us> <10624.1476735097@sss.pgh.pa.us> Comments: In-reply-to Craig Ringer message dated "Tue, 18 Oct 2016 11:52:27 +0800" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <875.1476802539.1@sss.pgh.pa.us> Date: Tue, 18 Oct 2016 10:55:39 -0400 Message-ID: <876.1476802539@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 Craig Ringer writes: > On 18 October 2016 at 04:11, Tom Lane wrote: >> As for the core problem, I wonder why we aren't recommending that >> third-party modules be built using the same infrastructure contrib >> uses, rather than people ginning up their own infrastructure and >> then finding out the hard way that that means they need PGDLLEXPORT >> marks. > Effectively, "PGXS for Windows". Yeah. > I've kind of been hoping the CMake work would make the whole mess of > Perl build stuff go away. CMake would solve this quite neatly since we > can bundle CMake parameters file for inclusion in other projects and > could also tell pg_config how to point to it. Extensions then become > trivial CMake projects. Agreed, it'd be wise not to put any effort into that until we see whether the CMake conversion succeeds. 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