pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andrew Dunstan <andrew@dunslane.net>
To: Magnus Hagander <magnus@hagander.net>
Cc: Robert Haas <robertmhaas@gmail.com>
Cc: XiaoboGu <guxiaobo1982@gmail.com>
Cc: pgsql-hackers@postgresql.org
Subject: Re: Is there a way to build PostgreSQL client libraries with MinGW
Date: Fri, 21 Jan 2011 10:24:46 -0500
Message-ID: <4D39A53E.2040005@dunslane.net> (raw)
In-Reply-To: <AANLkTi=AwssKV7xTyWrztrggfht693vQcSQWrcbTY2Pd@mail.gmail.com>
References: <001b01cbb8b5$3ba547b0$b2efd710$@com>
	<AANLkTinY2PTxQ6yFmjE=C8fAZ1sijO1u_ehtHJ_vT5PB@mail.gmail.com>
	<4D38F81E.9050508@dunslane.net>
	<AANLkTi=AwssKV7xTyWrztrggfht693vQcSQWrcbTY2Pd@mail.gmail.com>



On 01/21/2011 05:24 AM, Magnus Hagander wrote:
>>
>> That advice needs to be taken with a grain or two of salt. First, while you
>> probably should not use Cygwin postgres as a production server, it is still
>> the best way to run psql on Windows that I know of. And second, the stuff
> Yeah, I agree for psql the client tool (though it used to suck badly
> if you were in a non-english locale, but they may have fixed that).
> But not for PostgreSQL the full product. I guess we could add a
> sentence about the client side, but it needs to be clear that the
> non-sucky part only applies to the client.


It's not so bad it can't be used for development, and I have known 
people who do that, and indeed I have deployed one very complex app 
developed in just that way.

More importantly from my POV, there is no support in the buildfarm for 
just building the client side, and I have no intention of providing it. 
So it's not insignificant for us to be able to continue supporting a 
complete build on Cygwin, however much you dislike it.


>
>> about not being able to generate 64-bit binaries with Mingw is no longer
>> true (that's why it's no longer called Mingw32), although it is true that
>> nobody I know has yet tried to do so. It's on my long TODO list, and well
>> worth doing. (Relying on one compiler is the techno equivalent of
>> monolingualism, which my sister's bumper sticker used to tell me is a
>> curable condition.)
> It's true from the perspective of *postgresql* - you can't use those
> compiler to generate 64-bit binaries of PostgreSQL. And it's referring
> to "these builds", not the compiler itself.
>
> And I'm certainly not going to stand in the way of somebody adding
> build support for it if they (you or others) want to spend time on it
> - that patch should just include an update to that documentation
> paragraph, of course.
>
> Personally, I'm going to put what time I can put into "windows build
> system updates" into making us work with VS 2010 because I find that
> more important - but that's just me personally.
>


VS2010 is important, no doubt. But clearly there's some demand for 
continued Mingw support, hence the OP's question.

As I've remarked before, I think we should support as many build 
platforms/environments as we can.

cheers

andrew



view thread (25+ messages)  latest in thread

Message-ID: <4D39A53E.2040005@dunslane.net>
Permalink:  ../4D39A53E.2040005@dunslane.net/
Also on:    postgresql.org/message-id/4D39A53E.2040005@dunslane.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: andrew@dunslane.net, magnus@hagander.net, robertmhaas@gmail.com, guxiaobo1982@gmail.com, pgsql-hackers@postgresql.org
  Subject: Re: Is there a way to build PostgreSQL client libraries with MinGW
  In-Reply-To: <4D39A53E.2040005@dunslane.net>
  References: <001b01cbb8b5$3ba547b0$b2efd710$@com> <AANLkTinY2PTxQ6yFmjE=C8fAZ1sijO1u_ehtHJ_vT5PB@mail.gmail.com> <4D38F81E.9050508@dunslane.net> <AANLkTi=AwssKV7xTyWrztrggfht693vQcSQWrcbTY2Pd@mail.gmail.com> <4D39A53E.2040005@dunslane.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox