http://bugs.winehq.org/show_bug.cgi?id=58140
--- Comment #4 from Hans Leidekker hans@meelstraat.net --- (In reply to Heiko Rabe from comment #3)
Sorry, the underscore in driver section name are only a test try due to assuming it was related to whitespace, intially it looks like:
[PostgreSQL ANSI] Description=PostgreSQL ODBC driver (ANSI version) Driver=psqlodbca.so Setup=libodbcpsqlS.so Debug=0 CommLog=1 UsageCount=1
[PostgreSQL Unicode] Description=PostgreSQL ODBC driver (Unicode version) Driver=psqlodbcw.so Setup=libodbcpsqlS.so Debug=0 CommLog=1 UsageCount=1
Looks good. Can you run these commands?
$ wine reg export HKEY_LOCAL_MACHINE\Software\ODBC\ODBCINST.INI odbcinst.reg $ iconv -futf16 odbcinst.reg
Output should be something like this:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\Software\ODBC\ODBCINST.INI]
[HKEY_LOCAL_MACHINE\Software\ODBC\ODBCINST.INI\ODBC Drivers] "PostgreSQL ANSI"="Installed" "PostgreSQL Unicode"="Installed"
[HKEY_LOCAL_MACHINE\Software\ODBC\ODBCINST.INI\PostgreSQL ANSI] "Driver"="psqlodbca.so"
[HKEY_LOCAL_MACHINE\Software\ODBC\ODBCINST.INI\PostgreSQL Unicode] "Driver"="psqlodbcw.so"