Received: from localhost (maia-1.hub.org [200.46.204.191]) by postgresql.org (Postfix) with ESMTP id 4EA3C9FB30B; Fri, 27 Jul 2007 17:00:50 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.191]) (amavisd-maia, port 10024) with ESMTP id 52886-07; Fri, 27 Jul 2007 17:00:45 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from svr2.hagander.net (svr2.hagander.net [88.198.128.226]) by postgresql.org (Postfix) with ESMTP id 91A5D9FB308; Fri, 27 Jul 2007 17:00:45 -0300 (ADT) Received: from dynamic.hagander.net ([127.0.0.1]) (encrypted and authenticated) by svr2.hagander.net (Postfix) with ESMTP id A66EDDCC17D; Fri, 27 Jul 2007 22:00:43 +0200 (CEST) Message-ID: <46AA4F02.6000802@hagander.net> Date: Fri, 27 Jul 2007 22:01:06 +0200 From: Magnus Hagander User-Agent: Thunderbird 2.0.0.5 (Windows/20070716) MIME-Version: 1.0 To: Hiroshi Saito CC: Hiroshi Inoue , pgsql-odbc@postgresql.org, pgsql-patches@postgresql.org, Dave Page Subject: Re: [PATCHES] patch win32.mak of libpq References: <01e401c7ce7d$cca7a080$c601a8c0@HP22720319231> <20070725113759.GH5612@svr2.hagander.net> <007701c7cebf$f7fcbe40$c601a8c0@HP22720319231> <20070726090133.GA26612@svr2.hagander.net> <00bd01c7cf9c$c8e42070$0d01a8c0@yourc3ftrhkaod> <46A8F5FB.6060008@hagander.net> <00f601c7cff3$46d5fca0$c601a8c0@HP22720319231> In-Reply-To: <00f601c7cff3$46d5fca0$c601a8c0@HP22720319231> X-Enigmail-Version: 0.95.2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200707/59 X-Sequence-Number: 9114 Hiroshi Saito wrote: >>>> Ok. So there are actually two ways to go about it: >>>> 1) Discontinue support for MSVC6 and require MSVC8 >>>> >>>> 2) Change it so that MSVC6 can still build libpq, just not with SSPI >>>> support. This can be done by conditionally enabling ENABLE_SSPI, so >>>> it's >>>> not that hard. >>>> >>>> The question is, if we go with option 2, is it something that anybody >>>> actually will *use*? >>> >>> I desire 1 as formal. However, It contains VC7.1 and VC8. >>> Moreover, libpq.dll can be used by the module of VC6. >> >> Is there any actual reason to keep VC7.1 support? > > It is still used and has sufficient function. Then, Inoue-san is > developing in the environment.:-) > The project file of VC7.1 differs from VC8 a little. However, nmake.exe > absorbs it. > for the reasons, we are maintaining win32.mak. but, project file offers > the minimum function > in simple. MSDTC is a reason for being somewhat more complicated than > standard compile. Ok. Just to be clear, do you need MSVC7.1 support, or do you need win32.mak/nmake support? I realize they both work here, but if we changed something else that needed MSVC8 but maintained the win32.mak file, would that be enough? Inoue-san, I'd be interested in knowing exactly what it is that is the problem with MSVC8, if it's easy enough to outline? >> 1) Does ODBC *require* a MSVC6 build libpq.dll? >> 2) Can ODBC work with MVC8 built libpq, but ODBC is built with MSVC6? >> 3) Can ODBC be built with MSVC8 and use the MSVC8 built libpq? >> >> It would be unfortunate if ODBC has to ship with a different set of >> dependencies than libpq, but as long as they build with either VC6 or >> VC8 that shouldn't happen. >> >> 1 above would be really bad, but I'm 99% sure that's not so, since I've >> actually tested SSPI auth with such a libpq. >> >> IMO, the best option would be 3, but I don't know enough about the ODBC >> driver to comment on there. I'll CC this to the odbc list so we can get >> more input from other people there. > > I'm sure that 3 is sufficient. I will begin the preparation. > Of course, if there is a problem, though it will be corrected. Great. Let me know if you need any assistance. //Magnus