Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 8E70A2E011A for ; Fri, 22 Feb 2008 13:34:24 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 36240-05 for ; Fri, 22 Feb 2008 13:34:21 -0400 (AST) X-Greylist: delayed 00:06:41.62431 by SQLgrey-1.7.5 Received: from gw.blueface.com (unknown [213.200.94.184]) by postgresql.org (Postfix) with ESMTP id 0ACC02E00F9 for ; Fri, 22 Feb 2008 13:34:20 -0400 (AST) Received: (qmail 9241 invoked by uid 20008); 22 Feb 2008 17:27:38 -0000 Received: from 89.100.128.76 (bruce.mcalister@blueface.ie@89.100.128.76) by bfiemail (envelope-from , uid 0) with qmail-scanner-2.01st (clamdscan: 0.88.6/2242. spamassassin: 3.1.7. perlscan: 2.01st. Clear:RC:1(89.100.128.76):. Processed in 0.116277 secs); 22 Feb 2008 17:27:38 -0000 Received: from unknown (HELO ?192.168.10.2?) (bruce.mcalister@blueface.ie@89.100.128.76) by gw.blueface.com with ESMTPA; 22 Feb 2008 17:27:37 -0000 Message-ID: <47BF05F1.1010208@blueface.ie> Date: Fri, 22 Feb 2008 17:27:13 +0000 From: Bruce McAlister Reply-To: bruce.mcalister@blueface.ie Organization: Blueface Ireland Ltd User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) MIME-Version: 1.0 To: bruce.mcalister@blueface.ie CC: pgsql-odbc@postgresql.org Subject: Re: ODBC Version supporting specif databases? References: <47BEF6AE.7010004@blueface.ie> In-Reply-To: <47BEF6AE.7010004@blueface.ie> X-Enigmail-Version: 0.95.6 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=2.106 tagged_above=0 required=5 tests=AWL=-0.593, RCVD_NUMERIC_HELO=2.599, RDNS_NONE=0.1 X-Spam-Level: ** X-Archive-Number: 200802/50 X-Sequence-Number: 9402 Woops, the unixODBC version below should read 2.2.12, not 1.2.12. Bruce McAlister wrote: > Hi All, > > I am having connection issues with the 08.03.0100 version of the ODBC > driver. > > What happens is that when I attempt to connect to an 8.2.6 PostgreSQL > database, using the 08.3.0100 ODBC driver then i get an error connecting > during authentication as follows: > > ------------------------------------------------------------------------- > [28000][unixODBC]Communication error during authentication; > Error while reading from the socket. > [ISQL]ERROR: Could not SQLConnect > ------------------------------------------------------------------------- > > However, if I use the 08.01.0200 version to connect to the same DSN, I > am able to successfully connect? > > Is there a specific version of the ODBC driver that supports a specific > version of the PostgreSQL database. > > The way the above two ODBC drivers were built are as follows: > > OS: Solaris 10 Update 3 > ODBC Manager : unixODBC v1.2.12 > > I'm not too sure which version of the libpq library was used, but I know > for certain that Solaris 10 Update 3 comes with a Sun built version of > PostgreSQL 8.1, the one on the system I am trying to build on is version > 8.1.10. > > Am I doing something wrong or are the versions of the odbc driver just > not compatible with the versions of libpq that i am using to build with, > and thus, unable to connect to the database, or, is it something > completely different. > > If you need any additional info, please dont hesitate to ask. > > Thanks > Bruce -- +-------------------------------------------------------+ | Bruce McAlister Blueface Ltd | | http://www.blueface.ie | +-------------------------------------------------------+