Re: Extensions User Design

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: Dave Page <dpage(at)pgadmin(dot)org>
Cc: Dimitri Fontaine <dfontaine(at)hi-media(dot)com>, Josh Berkus <josh(at)agliodbs(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Extensions User Design
Date: 2009-06-25 09:32:44
Message-ID: 4A43443C.2060305@hagander.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Dave Page wrote:
> On Thu, Jun 25, 2009 at 9:58 AM, Dimitri Fontaine<dfontaine(at)hi-media(dot)com> wrote:
>> Dave Page <dpage(at)pgadmin(dot)org> writes:
>>> PGXS is essentially useless on Windows unless you're compiling your
>>> own code using Mingw/msys, which will be a miniscule percentage of
>>> users. Our installers for 8.3 and above are all built using VC++.
>> I guess we'll have to see how the windows world installers are
>> comparable / compatible with PGXS here, I confess I know nothing about
>> them...
>>
>> Is it possible to design this part of the extension system with only
>> PGXS in mind and later adapt the windows toolsuite?
>
> Anything is possible :-). Better to ask someone with more perl
> expertise than me how much effort it might take to have the VC++ build
> system be able to create a project from an arbitrary PGXS makefile.
> Andrew or Magnus would seem the obvious people.

We do it for Makefiles in contrib, so in theory it should be doable.

The problem is, I think, that the Makefile format is way too flexible.
You can write anything as shell commands in there, and there is no way
we can ever parse that and make it work in the msvc build system. I
haven't read the pgxs docs in a while so I don't know if it makes
restrictions on this, but AFAIK there are no technical reasons
preventing people from doing this.

--
Magnus Hagander
Self: http://www.hagander.net/
Work: http://www.redpill-linpro.com/

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Simon Riggs 2009-06-25 09:36:06 Re: that picksplit debug message again
Previous Message Dave Page 2009-06-25 09:21:35 Re: Extensions User Design