Received: from makus.postgresql.org (makus.postgresql.org [98.129.198.125]) by mail.postgresql.org (Postfix) with ESMTP id E1D8D238191 for ; Tue, 7 Feb 2012 09:14:31 -0400 (AST) Received: from pgfoundry.org ([200.46.204.130]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1RuksQ-0003Te-C1 for pgsql-odbc@postgresql.org; Tue, 07 Feb 2012 13:14:31 +0000 Received: from maia.hub.org (unknown [200.46.151.188]) by pgfoundry.org (Postfix) with ESMTP id 4BF891613627; Tue, 7 Feb 2012 13:14:16 +0000 (UTC) Received: from pgfoundry.org ([200.46.204.130]) by maia.hub.org (mx1.hub.org [200.46.151.188]) (amavisd-maia, port 10024) with ESMTP id 20344-01; Tue, 7 Feb 2012 13:14:15 +0000 (UTC) Received: by pgfoundry.org (Postfix, from userid 80) id 25A861613625; Tue, 7 Feb 2012 13:10:48 +0000 (UTC) To: noreply@pgfoundry.org From: Subject: [ psqlodbc-Bugs-1011159 ] ODBC driver names on 64bit platforms Content-type: text/plain; charset=UTF-8 Message-Id: <20120207131415.25A861613625@pgfoundry.org> Date: Tue, 7 Feb 2012 13:14:14 +0000 (UTC) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Pg-Spam-Score: -4.2 (----) X-Archive-Number: 201202/1 X-Sequence-Number: 10764 Bugs item #1011159, was opened at 2012-02-07 14:14 You can respond by visiting: http://pgfoundry.org/tracker/?func=detail&atid=538&aid=1011159&group_id=1000125 Category: None Group: None Status: Open Resolution: None Priority: 3 Submitted By: Jochen Wezel (jwezel) Assigned to: Nobody (None) Summary: ODBC driver names on 64bit platforms Initial Comment: On x84 and x64 systems, psqlodbc.msi installs 2 odbc drivers called - "PostgreSql ANSI" - "PostgreSql Unicode" On x64 systems, psqlodbc_x64.msi installs 2 odbc drivers called - "PostgreSql ANSI(x64)" - "PostgreSql Unicode(x64)" As a result, 1. the driver name "PostgreSql" (which is often used in connection string examples on the web) doesn't work 2. the driver name differs on x64 machines for applications running in x86 mode or x64 mode. MS Access 32bit can use the regular name "PostgreSql Unicode" but MS Access 64bit must use "PostgreSql Unicode(x64)". This requires us to provide 2 database files for both platforms. Suggested, simple solution: for 32bit-drivers: - Create 1 registry link (e.g. in setup files psqlodbc.msi) pointing from "HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBCINST.INI\PostgreSQL" to "HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBCINST.INI\PostgreSQL Unicode" for 64bit-drivers: - Create following 3 registry links (e.g. in setup file psqlodbc_x64.msi) "HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBCINST.INI\PostgreSQL" >> to "HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBCINST.INI\PostgreSQL Unicode(x64)" "HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBCINST.INI\PostgreSQL Unicode" >> to "HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBCINST.INI\PostgreSQL Unicode(x64)" "HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBCINST.INI\PostgreSQL ANSI" >> to "HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBCINST.INI\PostgreSQL ANSI(x64)" ---------------------------------------------------------------------- You can respond by visiting: http://pgfoundry.org/tracker/?func=detail&atid=538&aid=1011159&group_id=1000125