Thread: Translation DLL for ODBC

Translation DLL for ODBC

From
Sergei Barbarash
Date:
Hello,

How do I specify a translation DLL for Postgresql DSN?

-- S.



Re: [INTERFACES] Translation DLL for ODBC

From
Aleksey Demakov
Date:
Sergei Barbarash <sgt@israel.ru> writes:

> How do I specify a translation DLL for Postgresql DSN?

Well, currently it can be done with regedit. There is no convenient
installation program available yet.

First create, for example, a system DSN. Then run regedit. Open
"HKEY_LOCAL_MACHINE/SOFTWARE/ODBC/ODBC.INI/<your_dsn>". Create
a string parameter "TranslationDLL" with value set to the path of
the translation DLL, and dword parameter "TranslationOption" with
appropriate value (for psqlkoi8 it can be just any value).

Regards,
Aleksey

--
Aleksey Demakov
avd@gcom.ru