X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id 019A29FA374 for ; Wed, 7 Jun 2006 05:06:44 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 76116-08 for ; Wed, 7 Jun 2006 05:06:31 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from smtp.pzkagis.cz (gis6.netbox.cz [83.240.30.214]) by postgresql.org (Postfix) with ESMTP id 7746D9FA2BC for ; Wed, 7 Jun 2006 05:06:30 -0300 (ADT) Received: from soptik.pzkagis.cz (localhost.localdomain [127.0.0.1]) by smtp.pzkagis.cz (8.13.1/8.13.1) with ESMTP id k5787lUQ024036 for ; Wed, 7 Jun 2006 10:07:47 +0200 Received: (from luf@localhost) by soptik.pzkagis.cz (8.13.1/8.13.1/Submit) id k5787lYN024035 for pgsql-odbc@postgresql.org; Wed, 7 Jun 2006 10:07:47 +0200 Resent-Message-Id: <200606070807.k5787lYN024035@soptik.pzkagis.cz> Received: from samwel.tk (bsamwel.xs4all.nl [82.92.179.183]) by smtp.pzkagis.cz (8.13.1/8.13.1) with ESMTP id k56CMZT0018283 for ; Tue, 6 Jun 2006 14:22:36 +0200 Received: from localhost ([127.0.0.1]) by samwel.tk with esmtp (Exim 4.62) (envelope-from ) id 1FnaYe-0005Kv-9v for luf@pzkagis.cz; Tue, 06 Jun 2006 14:21:16 +0200 Message-ID: <44857340.2050802@samwel.tk> Date: Tue, 06 Jun 2006 14:21:20 +0200 From: Bart Samwel User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) MIME-Version: 1.0 To: Ludek Finstrle Subject: Re: psqlodbc installation problem References: <44849F92.7040201@samwel.tk> <20060606055927.GA31375@soptik.pzkagis.cz> In-Reply-To: <20060606055927.GA31375@soptik.pzkagis.cz> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: bart@samwel.tk X-SA-Exim-Scanned: No (on samwel.tk); SAEximRunCond expanded to false X-Virus-Scanned: ClamAV 0.88.2/1517/Wed Jun 7 02:05:07 2006 on smtp.pzkagis.cz X-Virus-Scanned: ClamAV 0.88.2/1514/Mon Jun 5 22:21:02 2006 on smtp.pzkagis.cz X-Virus-Status: Clean Resent-From: Ludek Finstrle Resent-Date: Wed, 7 Jun 2006 10:07:47 +0200 Resent-To: pgsql-odbc@postgresql.org X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200606/19 X-Sequence-Number: 7767 Ludek Finstrle wrote: >> install psqlODBC 08.02.0002 using the MSI installer. I have the driver >> from PostgreSQL installed, which gives me a "PostgreSQL ANSI" and a >> "PostgreSQL Unicode" driver (both version 8.01.0200), but installing the >> MSI does _not_ add another driver. Is there anyhting else I need to do >> to get this to work? > > MSI - I hope you use OS Windows. I wish I didn't, but yes, I do. :-) > It may install PostgreSQL driver. It contains: > C:\Program Files\psqlODBC\0802\bin\psqlodbc35w.dll (and some others > needed only for SSL and kerberos) > Registry: > HKEY_LOCAL_MACHINE\Software\ODBC\ODBCINST.INI\PostgreSQL > APILevel = REG_SZ 1 > ConnectFunctions = REG_SZ YYN > Driver = REG_SZ C:\Program Files\psqlODBC\0802\bin\psqlodbc35w.dll > DriverODBCVer = REG_SZ 03.51 > Setup = REG_SZ C:\Program Files\psqlODBC\0802\bin\psqlodbc35w.dll > SQLLevel = REG_SZ 1 > UniqueIndex = REG_SZ 1 (I'm not sure if it's required) > UsageCount = REG_DWORD 0x0001 > HKEY_LOCAL_MACHINE\Software\ODBC\ODBCINST.INI\ODBC Drivers > PostgreSQL = REG_SZ Installed The files are present, but for me, every registry key except UniqueIndex is missing. I do have BoolsAsChar, CancelAsFreeStmt, CommLog, Debug, ExtraSysTablePrefixes, Fetch, Ksqo, MaxLongVarCharSize, and some more settings of the driver. It might be that the MSI doesn't install the registry key if it is already present. [checking...] No, no dice. Maybe the MSI doesn't install the registry key if the _files_ are already present. [checking...] Yes, removing the files and reinstalling works, I now have my driver back. Apparently the uninstaller didn't remove them. However, I just re-tested uninstalling as well, and the uninstaller _does_ remove the files now... > I hope I help you. Yes, thanks very much for your help! I'm very thankful for the fact that I can access my database again. :-) Cheers, Bart