RE: Rename 64bit ODBC driver

From: Grant Shirreffs <GShirreffs(at)stayinfront(dot)com>
To:
Cc: "pgsql-odbc(at)lists(dot)postgresql(dot)org" <pgsql-odbc(at)lists(dot)postgresql(dot)org>
Subject: RE: Rename 64bit ODBC driver
Date: 2019-04-04 03:59:38
Message-ID: BYAPR18MB30292539C602C95561403007CF500@BYAPR18MB3029.namprd18.prod.outlook.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-odbc

Installer/Psqlodbcm_cpu.wxs(143)

<?if $(var.Platform) = x64 ?>
<ODBCDriver Id="Psqlodbc_9.0_Driver_ANSI" Name="PostgreSQL ANSI($(var.Platform))" File="psqlodbc30a.dll" />
<ODBCDriver Id="Psqlodbc_9.0_Driver" Name="PostgreSQL Unicode($(var.Platform))" File="psqlodbc35w.dll" />
<ODBCDriver Id="Psqlodbc_9.0_Driver_ANSI.1" Name="PostgreSQL ANSI)" File="psqlodbc30a.dll" />
<ODBCDriver Id="Psqlodbc_9.0_Driver.1" Name="PostgreSQL Unicode)" File="psqlodbc35w.dll" />
<?else?>

From: Grant Shirreffs <GShirreffs(at)stayinfront(dot)com>
Sent: Thursday, 4 April 2019 16:53
Cc: pgsql-odbc(at)lists(dot)postgresql(dot)org
Subject: RE: Rename 64bit ODBC driver

Yes, but it is the MSI which makes those entries in the registry. Changing the MSI to add a second driver name, without the irksome (64 bit) tag would be trivial.

From: Craig Ringer <craig(at)2ndquadrant(dot)com<mailto:craig(at)2ndquadrant(dot)com>>
Sent: Thursday, 4 April 2019 16:49
To: Mirko Klingmann <Mirko(dot)Klingmann(at)gbs(dot)com<mailto:Mirko(dot)Klingmann(at)gbs(dot)com>>
Cc: pgsql-odbc(at)lists(dot)postgresql(dot)org<mailto:pgsql-odbc(at)lists(dot)postgresql(dot)org>
Subject: Re: Rename 64bit ODBC driver

On Wed, 3 Apr 2019 at 20:36, Mirko Klingmann <Mirko(dot)Klingmann(at)gbs(dot)com<mailto:Mirko(dot)Klingmann(at)gbs(dot)com>> wrote:
Hi all,

would it be possible to rename the 64bit ODBC driver from PostgreSQL ANSI(x64) and PostgreSQL Unicode(x64) to PostgreSQL ANSI and PostgreSQL Unicode (same as the 32bit ODBC drivers)?

That seems very sensible ... but it's not really the driver itself, just the odbcinst.ini entries for it (or Registry entries on modern Windows).

https://docs.microsoft.com/en-us/sql/odbc/reference/install/odbc-drivers-subkey?view=sql-server-2017

You could add aliases with your own registry entries and/or an odbcinst.ini if you chose.

--
Craig Ringer http://www.2ndQuadrant.com/
2ndQuadrant - PostgreSQL Solutions for the Enterprise

In response to

Browse pgsql-odbc by date

  From Date Subject
Next Message Mogolodi George 2019-04-04 09:47:42 Postgres ODBC Driver
Previous Message Grant Shirreffs 2019-04-04 03:52:55 RE: Rename 64bit ODBC driver