32bit and 64bit Versions of PostgreSQL 9.1 ODBC are Mixed Up -
i've installed both 32bit , 64bit versions of psqlodbc 9.1. when configure both 32bit , 64bit system dsn written odbc.ini file incorrectly:
[odbc 32 bit data sources] pg_crdb_latest=postgresql unicode (32 bit) pg_crdb_latest_32=postgresql unicode(x64) (32 bit) [pg_crdb_latest] driver32=c:\program files (x86)\psqlodbc\0901\bin\psqlodbc35w.dll [pg_crdb_latest_32] driver32=c:\program files\psqlodbc\0901\bin\psqlodbc35w.dll
the pg_crdb_latest dsn added using 64bit odbc data source administrator. pg_crdb_latest_32 dsn added 32bit one.
fyi - installed 32bit version first, 64bit version.
the outcome error when trying connect postgresql 9.1 64bit in sas 9.2 64bit:
error: cli error trying establish connection: [microsoft][odbc driver manager] specified dsn contains architecture mismatch between driver , application
any ideas how set right? i'm running windows 7 pro 64bit.
this link explains all
http://www.easysoft.com/developer/interfaces/odbc/64-bit.html#odbc-windows
so 2 things:
- windows has poor file , directory naming conventions regarding odbc - hence confusion
- 64bit postgresql odbc slow (10x slower sas sql 64bit via oledb) - i'll investigate further
Comments
Post a Comment