Thread: Rename 64bit ODBC driver

Rename 64bit ODBC driver

From
Mirko Klingmann
Date:

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)?

If drivers for both 32bit and 64bit were named the same, one could use the same connection string in both environments.

 

Cheers,

Mirko

RE: Rename 64bit ODBC driver

From
Grant Shirreffs
Date:

Seconded.  The different name is unnecessary, and causes difficulties.  It should be simple enough to modify the MSI to register the 64-bit driver under both names.

 

From: Mirko Klingmann <Mirko.Klingmann@gbs.com>
Sent: Thursday, 4 April 2019 01:36
To: pgsql-odbc@lists.postgresql.org
Subject: Rename 64bit ODBC driver

 

WARNING: The sender of this email could not be validated and may not match the person in the ""From"" field. Use caution when opening attachments or clicking on links below.

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)?

If drivers for both 32bit and 64bit were named the same, one could use the same connection string in both environments.

 

Cheers,

Mirko

Re: Rename 64bit ODBC driver

From
Craig Ringer
Date:
On Wed, 3 Apr 2019 at 20:36, Mirko Klingmann <Mirko.Klingmann@gbs.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).


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

RE: Rename 64bit ODBC driver

From
Grant Shirreffs
Date:

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@2ndquadrant.com>
Sent: Thursday, 4 April 2019 16:49
To: Mirko Klingmann <Mirko.Klingmann@gbs.com>
Cc: pgsql-odbc@lists.postgresql.org
Subject: Re: Rename 64bit ODBC driver

 

On Wed, 3 Apr 2019 at 20:36, Mirko Klingmann <Mirko.Klingmann@gbs.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).

 

 

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

RE: Rename 64bit ODBC driver

From
Grant Shirreffs
Date:

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@stayinfront.com>
Sent: Thursday, 4 April 2019 16:53
Cc: pgsql-odbc@lists.postgresql.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@2ndquadrant.com>
Sent: Thursday, 4 April 2019 16:49
To: Mirko Klingmann <Mirko.Klingmann@gbs.com>
Cc: pgsql-odbc@lists.postgresql.org
Subject: Re: Rename 64bit ODBC driver

 

On Wed, 3 Apr 2019 at 20:36, Mirko Klingmann <Mirko.Klingmann@gbs.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).

 

 

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