Re: So, can we stop supporting Windows native now?

From: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>
To: Craig Ringer <craig(at)2ndquadrant(dot)com>
Cc: Andrew Dunstan <andrew(at)dunslane(dot)net>, Andres Freund <andres(at)anarazel(dot)de>, Yury Zhuravlev <u(dot)zhuravlev(at)postgrespro(dot)ru>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: So, can we stop supporting Windows native now?
Date: 2016-04-01 00:29:55
Message-ID: CAB7nPqQ7WeGmh7Td4z0LPhuy6bkMPV1jAJXaWjRRu7CGBmscJA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Fri, Apr 1, 2016 at 9:05 AM, Craig Ringer <craig(at)2ndquadrant(dot)com> wrote:
> I completely agree there. I wrote some documentation on how to make project
> files to build extensions, but it'd be nice to *generate* them instead, like
> we do for in-tree builds.

Yes, I maintain some code that builds extension on Windows, those are
using the msvc scripts by linking to the tree directly, with some
custom-made wrappers for the calls that cannot be exported. That's
ugly, but anybody would have guessed that..

> The problem is that we don't install all the Perl build stuff on Windows,
> it's only in the build tree. The time consuming part wx is
> / sll be cleaning that up so it can run outside src/tools/msvc, getting it
> to use pg_config, and making it installable. Then of course there's the
> issue that it won't be available before 9.7 at the soonest... unless some
> brave soul backports it as an installable add-on. Which means extension
> authors are still screwed for 5+ years. That's the main reason I haven't
> tackled it - so far I've got by pretty well with VS project files + property
> sheets, and any PGXS-like capability almost certainly couldn't be backported
> so it's nearly useless for about 5 years.

Still, it would be interesting to see how cmake affects this area of
the code before tackling anything, doing something now may be time
wasted for nothing at the end. So I would refrain from even putting
resources in this project.
--
Michael

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paquier 2016-04-01 00:36:57 Re: pgsql: Enable logical slots to follow timeline switches
Previous Message Noah Misch 2016-04-01 00:10:31 Re: Suspicious behaviour on applying XLOG_HEAP2_VISIBLE.