Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id AF8B61336FA7 for ; Sun, 23 Jan 2011 11:01:49 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 30220-09 for ; Sun, 23 Jan 2011 15:01:42 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-gw0-f46.google.com (mail-gw0-f46.google.com [74.125.83.46]) by mail.postgresql.org (Postfix) with ESMTP id 140881336B42 for ; Sun, 23 Jan 2011 11:01:41 -0400 (AST) Received: by gwj20 with SMTP id 20so1002284gwj.19 for ; Sun, 23 Jan 2011 07:01:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:from:to:cc:references:in-reply-to:subject:date :message-id:mime-version:content-type:content-transfer-encoding :x-mailer:thread-index:content-language; bh=mgRboDz+ldjSiMWcVZBmQbMlHKj2de3/PaFSTjezBsc=; b=ZRvm4uy/JgRJQGCyJP3uFAUNLlqr3w1OHo+Cu59FMl2cfddiLd0yyBG+wctuRNQWcI JgT9rctl3+wWyd/MiIGg7D+F+yUyacrADZcYOR9c5ZOdZX+2iTxRXpLJZzSdaUV3MBQA BQPecjnA9YfbcSYKhFFjp/CSuD3ovvMtAIXcc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:references:in-reply-to:subject:date:message-id :mime-version:content-type:content-transfer-encoding:x-mailer :thread-index:content-language; b=jdsBRwIBsj2GHEwTX3/skqcejW5iNNhDZjxGPdSa7ke2vN8sQdcts38N7oV+kfGRYP N0qwSsqSlY05QjXWs93vmvDLfx6o0KWw6RwOR6LBnhN6wRyfvuaMoPp7RoXvEksuVvaV 2+tuiWTGaw6UGF/+osDMUtrMzrHh2Zu8aECTc= Received: by 10.150.49.2 with SMTP id w2mr3350483ybw.84.1295794900822; Sun, 23 Jan 2011 07:01:40 -0800 (PST) Received: from dellPC ([222.125.128.203]) by mx.google.com with ESMTPS id q33sm7788922yba.19.2011.01.23.07.01.34 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 23 Jan 2011 07:01:38 -0800 (PST) From: "XiaoboGu" To: "'Andrew Dunstan'" , "'Magnus Hagander'" Cc: "'Robert Haas'" , References: <001b01cbb8b5$3ba547b0$b2efd710$@com> <4D38F81E.9050508@dunslane.net> <4D39A53E.2040005@dunslane.net> In-Reply-To: <4D39A53E.2040005@dunslane.net> Subject: =?gb2312?B?tPC4tDogW0hBQ0tFUlNdIElzIHRoZXJlIGEgd2F5IHRvIGJ1aWxkIA==?= =?gb2312?B?UG9zdGdyZVNRTCBjbGllbnQgbGlicmFyaWVzIHdpdGggTWluR1c=?= Date: Sun, 23 Jan 2011 23:01:30 +0800 Message-ID: <001201cbbb0e$6edc2ad0$4c948070$@com> MIME-Version: 1.0 Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: Acu5f1d9kn8CKPXQRZe9uA+vZq7YKQBjrAtA Content-Language: zh-cn X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.046 tagged_above=-5 required=5 tests=BAYES_00=-1.9, FREEMAIL_ENVFROM_END_DIGIT=1.553, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7 X-Spam-Level: X-Archive-Number: 201101/2224 X-Sequence-Number: 180061 Hi=20 I am not so familiar with the PostgreSQL development team, but using a = MinGW compatible client side is important to us, so I'd like to start doing it myself if any of you experts can help. Cheers Xiaobo Gu > -----=D3=CA=BC=FE=D4=AD=BC=FE----- > =B7=A2=BC=FE=C8=CB: Andrew Dunstan [mailto:andrew@dunslane.net] > =B7=A2=CB=CD=CA=B1=BC=E4: 2011=C4=EA1=D4=C221=C8=D5 23:25 > =CA=D5=BC=FE=C8=CB: Magnus Hagander > =B3=AD=CB=CD: Robert Haas; XiaoboGu; pgsql-hackers@postgresql.org > =D6=F7=CC=E2: Re: [HACKERS] Is there a way to build PostgreSQL client = libraries with MinGW >=20 >=20 >=20 > 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. >=20 >=20 > 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. >=20 > 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. >=20 >=20 > > > >> 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. > > >=20 >=20 > VS2010 is important, no doubt. But clearly there's some demand for > continued Mingw support, hence the OP's question. >=20 > As I've remarked before, I think we should support as many build > platforms/environments as we can. >=20 > cheers >=20 > andrew