Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bwElP-0000l9-D5 for pgsql-hackers@arkaria.postgresql.org; Mon, 17 Oct 2016 20:44:03 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bwElP-00051v-01 for pgsql-hackers@arkaria.postgresql.org; Mon, 17 Oct 2016 20:44:03 +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 1bwEk0-0003PB-Ou for pgsql-hackers@postgresql.org; Mon, 17 Oct 2016 20:42:36 +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 1bwEjy-00005w-0l for pgsql-hackers@postgresql.org; Mon, 17 Oct 2016 20:42:36 +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 u9HKgUkL012121; Mon, 17 Oct 2016 16:42:30 -0400 From: Tom Lane To: Robert Haas cc: 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 Robert Haas message dated "Mon, 17 Oct 2016 16:16:37 -0400" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <12119.1476736950.1@sss.pgh.pa.us> Date: Mon, 17 Oct 2016 16:42:30 -0400 Message-ID: <12120.1476736950@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 Robert Haas writes: > On Mon, Oct 17, 2016 at 4:11 PM, 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. > So, they'd need to generate export files somehow? My point is that that's a solved problem. Perhaps the issue is that we haven't made our src/tools/msvc infrastructure available for outside use in the way that we've exported our Unix build infrastructure through PGXS. But if so, I should think that working on that is the thing to do. [ wanders away wondering what cmake does with this... ] 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