Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Uq2H6-0002qC-QQ for pgsql-odbc@arkaria.postgresql.org; Fri, 21 Jun 2013 14:25:16 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Uq2H5-0002fA-NI for pgsql-odbc@arkaria.postgresql.org; Fri, 21 Jun 2013 14:25:15 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Uq2H5-0002en-4n for pgsql-odbc@postgresql.org; Fri, 21 Jun 2013 14:25:15 +0000 Received: from winpg.jp ([219.94.251.195]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Uq2H0-0000MZ-9j for pgsql-odbc@postgresql.org; Fri, 21 Jun 2013 14:25:14 +0000 Received: from [192.168.202.4] (p6222-ipad401funabasi.chiba.ocn.ne.jp [123.217.240.222]) by winpg.jp (Postfix) with ESMTPA id B699AB24145; Fri, 21 Jun 2013 23:25:05 +0900 (JST) Message-ID: <51C46241.4010007@winpg.jp> Date: Fri, 21 Jun 2013 23:25:05 +0900 From: Hiroshi Saito User-Agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:17.0) Gecko/20130328 Thunderbird/17.0.5 MIME-Version: 1.0 To: Sandeep Thakkar CC: "pgsql-odbc@postgresql.org" Subject: Re: Re: [BUGS] Sorry to bother you. Please tell me exactly how the compiler was built ODBC References: <50782940.6020605@gmail.com> <507A6114.1000802@winpg.jp> <51C2F721.6020501@winpg.jp> In-Reply-To: Content-Type: text/plain; charset=KOI8-U Content-Transfer-Encoding: 8bit X-Pg-Spam-Score: -3.4 (---) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-odbc Precedence: bulk Sender: pgsql-odbc-owner@postgresql.org Hi Sandeep-san. Good:-) However, psqlODBC is latest version to be able to connecting each release version of Postgres. why did you use the old driver? Regards, Hiroshi Saito (2013/06/21 16:11), Sandeep Thakkar wrote: > Hi Hiroshi > > I used psqlodbc-09.02.0100 and it works fine. Thanks. > > I also back ported this patch to psqlodbc-09.01.0200 and it also works > fine there as well. I hope this is fine. > > > On Thu, Jun 20, 2013 at 6:05 PM, Hiroshi Saito > wrote: > > Hi Sandeep-san. > > please use psqlodbc-09.02.0100.tar.gz. > http://www.postgresql.org/ftp/odbc/versions/src/ > > It Inoue-san fixed VS version problem error.h. > == > Don't #include errno.h on Windows. VC10 or later intentionally changed > the values of error numbers like EINTR, EWOULDBLOCK. > > http://git.postgresql.org/gitweb/?p=psqlodbc.git;a=commit;h=cf6d2079ec25fc8acca0b776ca3901dc83b13867 > == > > Regards, > Hiroshi Saito > > (2013/06/20 17:59), Sandeep Thakkar wrote: > > I've built psqlODBC-09.01.0200 sources on Windows 64. The testing with > > PostgreSQL 9.2 version gives the error "Could not connect to the > > server". I picked up the Windows installer of yours > > (psqlodbc_09_01_0200-x64.zip) and I see that the connection is > successful. > > > > I'm using Visual Studio 2010 and this is the command to compile: > > > > nmake /f win64.mak ANSI_VERSION=yes PG_INC=%PG_HOME_PATH%\include > > PG_LIB=%PG_HOME_PATH%\lib SSL_INC=%OPENSSL_PATH%\include > > SSL_LIB=%OPENSSL_PATH%\lib LINKMT=no USE_SSPI=yes CPU=X64 > CFG=Release ALL > > > > On Sun, Oct 14, 2012 at 12:22 PM, Hiroshi Saito > > >> wrote: > > > > Hi Копыченко-san. > > > > sorry late reaction. > > > > Here is explanation of the build method. > > > http://psqlodbc.projects.__postgresql.org/win32-__compilation.html > > > > > however, VS2012 is referred to by the reason Microsoft always > > offers the newest IDE. I had not used VS2012 yet..:-( > > therefore, It does not know whether it can build satisfactory. > > > > then, build environment to recommend has Platform SDK. > > It is "Windows SDK for Windows Server 2008 and .NET Framework 3.5" > > http://www.microsoft.com/en-__us/download/details.aspx?id=__11310 > > > > > > P.S) > > this subject have a desirable ODBC mailing list. > > Please use here. thanks. > > pgsql-odbc@postgresql.org > > > > > > Best regards, > > Hiroshi Saito > > > > > > (2012/10/12 23:29), Копыченко Павел wrote: > > > > Sorry to bother you. Please tell me exactly how the > compiler was > > built ODBC > > driver psqlodbc-09.01.0200 architecture for Windows 64? What > > exact version > > of the compiler? please > > > > > > > > > > > > -- > > Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org > > > >) > > To make changes to your subscription: > > http://www.postgresql.org/__mailpref/pgsql-bugs > > > > > > > > > > > > > > > -- Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-odbc