Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id EFA651337B6C for ; Fri, 21 Jan 2011 11:24:54 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 42807-04 for ; Fri, 21 Jan 2011 15:24:48 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from cdptpa-omtalb.mail.rr.com (cdptpa-omtalb.mail.rr.com [75.180.132.122]) by mail.postgresql.org (Postfix) with ESMTP id 77E711337B53 for ; Fri, 21 Jan 2011 11:24:47 -0400 (AST) X-Authority-Analysis: v=1.1 cv=3jtQBdTzPyV+fq4oCU/u8ZPrJJGN11HvhaDVxyWhycI= c=1 sm=0 a=arl-9JqD9KMA:10 a=8nJEP1OIZ-IA:10 a=qCTYjJJ2g1SgQhsHZAUATw==:17 a=l-eZ16UtTDv_jH2EJq0A:9 a=cd_V_QwMbi-WCnRmOBV5w5CEfLsA:4 a=wPNLvfGTeEIA:10 a=qCTYjJJ2g1SgQhsHZAUATw==:117 X-Cloudmark-Score: 0 X-Originating-IP: 98.27.48.207 Received: from [98.27.48.207] ([98.27.48.207:38854] helo=[192.168.10.104]) by cdptpa-oedge02.mail.rr.com (envelope-from ) (ecelerity 2.2.3.46 r()) with ESMTP id AC/2E-02631-F35A93D4; Fri, 21 Jan 2011 15:24:47 +0000 Message-ID: <4D39A53E.2040005@dunslane.net> Date: Fri, 21 Jan 2011 10:24:46 -0500 From: Andrew Dunstan User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101209 Fedora/3.1.7-0.35.b3pre.fc13 Lightning/1.0b3pre Thunderbird/3.1.7 MIME-Version: 1.0 To: Magnus Hagander CC: Robert Haas , XiaoboGu , pgsql-hackers@postgresql.org Subject: Re: Is there a way to build PostgreSQL client libraries with MinGW References: <001b01cbb8b5$3ba547b0$b2efd710$@com> <4D38F81E.9050508@dunslane.net> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.9 tagged_above=-5 required=5 tests=BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001 X-Spam-Level: X-Archive-Number: 201101/2095 X-Sequence-Number: 179932 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