pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bart Samwel <bart@samwel.tk>
To: Ludek Finstrle <luf@pzkagis.cz>
Subject: Re: psqlodbc installation problem
Date: Tue, 06 Jun 2006 14:21:20 +0200
Message-ID: <44857340.2050802@samwel.tk> (raw)
In-Reply-To: <20060606055927.GA31375@soptik.pzkagis.cz>
References: <44849F92.7040201@samwel.tk>
	<20060606055927.GA31375@soptik.pzkagis.cz>

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



view thread (4+ messages)

Message-ID: <44857340.2050802@samwel.tk>
Permalink:  ../44857340.2050802@samwel.tk/
Also on:    postgresql.org/message-id/44857340.2050802@samwel.tk

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-odbc@postgresql.org
  Cc: bart@samwel.tk, luf@pzkagis.cz
  Subject: Re: psqlodbc installation problem
  In-Reply-To: <44857340.2050802@samwel.tk>
  References: <44849F92.7040201@samwel.tk> <20060606055927.GA31375@soptik.pzkagis.cz> <44857340.2050802@samwel.tk>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox