X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 753199DCAAB for ; Wed, 22 Mar 2006 11:55:07 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 80980-07 for ; Wed, 22 Mar 2006 11:55:11 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from MX03.KONTENT.De (mx03.kontent.de [81.88.34.122]) by postgresql.org (Postfix) with ESMTP id 616969DC986 for ; Wed, 22 Mar 2006 11:55:02 -0400 (AST) Received: from Mail2.KONTENT.De (mail2.kontent.de [81.88.34.59]) by MX03.KONTENT.De (Postfix) with ESMTP id AB25F180091D for ; Wed, 22 Mar 2006 16:35:22 +0100 (CET) Received: from jedi.behrens.de (p508427F5.dip0.t-ipconnect.de [80.132.39.245]) by Mail2.KONTENT.De (Postfix) with ESMTP id 8827238800B for ; Wed, 22 Mar 2006 16:55:04 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by jedi.behrens.de (Postfix) with ESMTP id CF12819DF2 for ; Wed, 22 Mar 2006 16:55:03 +0100 (CET) Received: from jedi.behrens.de ([127.0.0.1]) by localhost (jedi [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 19391-02 for ; Wed, 22 Mar 2006 16:55:03 +0100 (CET) Received: from [192.168.150.239] (mac.behrens.de [192.168.150.239]) by jedi.behrens.de (Postfix) with ESMTP id 22D9B1129C for ; Wed, 22 Mar 2006 16:55:03 +0100 (CET) Mime-Version: 1.0 (Apple Message framework v623) In-Reply-To: <20060322144202.GA8090@soptik.pzkagis.cz> References: <2278281adccbf280e3101059bdc3a625@lollisoft.de> <20060322144202.GA8090@soptik.pzkagis.cz> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Message-Id: <692826b1c2e6e9f8306821873e9937c4@lollisoft.de> Content-Transfer-Encoding: quoted-printable From: Lothar Behrens Subject: Re: Database backend (7.4 versus 8.0) trouble ? Date: Wed, 22 Mar 2006 16:55:01 +0100 To: pgsql-odbc@postgresql.org X-Mailer: Apple Mail (2.623) X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.12 required=5 tests=[AWL=0.120] X-Spam-Score: 0.12 X-Spam-Level: X-Archive-Number: 200603/148 X-Sequence-Number: 7434 Am 22.03.2006 um 15:42 schrieb Ludek Finstrle: >> I am just trying PostgreSQL 8.0.2-12 on my Mac OS X 10.3 >> (darwin-powerpc) and got these error message: >> >> Error in lbQuery: (SQLConnect()) IM002: 201 - Missing server name, >> port, or database name in call to CC_connect. >> >> If I use my old database (7.4 on Linux), I didn't get any problems. > > Are you able to connect to PgSQL 8.0 via psql or pgAdmin? > You haven't told us what client OS are you using. Oh, it's the same on Mac OS X. Currently I am also in trouble with 7.4. The pgAdmin tool works on both database versions. So it seems to be an=20= ODBC issue. The trouble may be from installing the postgreSQL database with the=20 client API's. First I saw, that it has installed iODBC. Then I have reinstalled=20 unixODBC package and psqlODBC, but no success. I also didn't get configured logging. Here is my odbc.ini setting: [lbDMF] Driver =3D /usr/local/lib/psqlodbc.so Description =3D Configuration for DMF Servername =3D jedi UserName =3D dba Password =3D trainres Database =3D lbdmf Port =3D 5432 Protocol =3D 6.4 BoolsAsChar =3D 0 ShowSystemTables =3D 1 TrueIsMinus1 =3D 1 Trace =3D 1 TraceFile =3D ~/lbDMF.log Debug =3D 1 DebugFile =3D ~/lbDMF.debug.log Are the Trace and Debug settings valid ? Lothar > > If you're able to connect with another client app could you send us=20 > mylog > output? > > Regards, > > Luf > > -- Lothar Behrens | Rapid Prototyping ... Rosmarinstr 3 |=09 40235 D=FCsseldorf | www.lollisoft.de