我已经安装了psqlODBC 9.1的32位和64位版本。当我同时配置32位,他们被写入到ODBC.INI文件不正确地在64位系统DSN:32位和64位PostgreSQL 9.1 ODBC版本混合了
[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
的pg_crdb_latest DSN是使用64位ODBC数据源管理增加。 pg_crdb_latest_32 DSN增加了32bit之一。
仅供参考 - 我首先安装了32位版本,然后安装了64位版本。
结果是我得到试图连接到PostgreSQL 9.1 64位在SAS 9.2 64位时,这个错误:
ERROR: CLI error trying to establish connection: [Microsoft][ODBC Driver Manager] The specified DSN contains an architecture mismatch between the Driver and Application
任何想法如何设置这个权利?我正在运行Windows 7 Pro 64bit。