Re: How do I install PostgreSQL ODBC Drivers for Windows from Source?

From: "David Zoll" <dzoll(at)nyscul(dot)org>
To: Stephen Davies <scldad(at)sdc(dot)com(dot)au>
Cc: PostgreSQL-interfaces <pgsql-interfaces(at)postgresql(dot)org>
Subject: Re: How do I install PostgreSQL ODBC Drivers for Windows from Source?
Date: 2001-01-17 18:17:57
Message-ID: 3A65E1D5.76ED9AEF@nyscul.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces


Stephen Davies wrote:
>
> There are two versions of the ODBC driver at ftp.postgresql.org: one is
> the full package including installer, the other is just the driver
> itself.
>
> Once you have installed with installer once, you can upgrade by just
> copying new versions of the driver to windows\system.
>
> If for some reason you cannot get the installer to work, you can do the
> install by hand with regedit.
>
> Find the key HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBCINST.INI and add
> the following:
>
> REGEDIT4
>
> [HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBCINST.INI\PostgreSQL]
> "Setup"="C:\\WINDOWS\\SYSTEM\\PSQLODBC.DLL"
> "Driver"="C:\\WINDOWS\\SYSTEM\\PSQLODBC.DLL"
> "APILevel"="1"
> "ConnectFunctions"="YYN"
> "CommLog"="0"
> "Optimizer"="0"
> "DriverODBCVer"="02.00"
> "FileUsage"="0"
> "SQLLevel"="1"
> "UsageCount"=dword:00000001
> "Fetch"="100"
> "UniqueIndex"="1"
> "ReadOnly"="0"
> "UseCursors"="0"
> "UnknownSizes"="0"
> "TextAsLongVarchar"="0"
> "UnknownsAsLongVarchar"="0"
> "MaxVarcharSize"="254"
> "MaxLongVarcharSize"="4094"
> "ConnSettings"=""
> "UseDeclareFetch"="0"
> "BoolsAsChar"="0"
> "ExtraSysTablePrefixes"="dd_;"
> "Parse"="1"
> "Ksqo"="1"
> "CancelAsFreeStmt"="0"
>
> (Note: check the above paths for your system)
>
> Find the key HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBCINST.INI\ODBC Drivers
> and add an entry "PostgreSQL= Installed".

Thank you very much, that seems to have done it :-)

In my opionion, the above really should go in a README or INSTALL file
in the ODBC Driver source distribution. Who do I talk to about getting
that included in the next release?

Sincerely,
-David Zoll, Programmer
NYSCUL

In response to

Browse pgsql-interfaces by date

  From Date Subject
Next Message David Zoll 2001-01-17 18:26:25 Re: How do I install PostgreSQL ODBC Drivers for Windowsfrom Source?
Previous Message Ross J. Reedstrom 2001-01-17 17:14:26 Re: outer join in PostgreSql