pg.ddx.io pgsql-odbc@postgresql.org mailing list archive
help / color / mirror / Atom feedRename 64bit ODBC driver
5+ messages / 3 participants
[nested] [flat]
* Rename 64bit ODBC driver
@ 2019-04-03 12:36 Mirko Klingmann <Mirko.Klingmann@gbs.com>
2019-04-03 19:59 ` RE: Rename 64bit ODBC driver Grant Shirreffs <GShirreffs@stayinfront.com>
2019-04-04 03:49 ` Re: Rename 64bit ODBC driver Craig Ringer <craig@2ndquadrant.com>
0 siblings, 2 replies; 5+ messages in thread
From: Mirko Klingmann @ 2019-04-03 12:36 UTC (permalink / raw)
To: pgsql-odbc@lists.postgresql.org <pgsql-odbc@lists.postgresql.org>
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
^ permalink raw reply [nested|flat] 5+ messages in thread
* RE: Rename 64bit ODBC driver
2019-04-03 12:36 Rename 64bit ODBC driver Mirko Klingmann <Mirko.Klingmann@gbs.com>
@ 2019-04-03 19:59 ` Grant Shirreffs <GShirreffs@stayinfront.com>
1 sibling, 0 replies; 5+ messages in thread
From: Grant Shirreffs @ 2019-04-03 19:59 UTC (permalink / raw)
To: pgsql-odbc@lists.postgresql.org <pgsql-odbc@lists.postgresql.org>
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
^ permalink raw reply [nested|flat] 5+ messages in thread
* Re: Rename 64bit ODBC driver
2019-04-03 12:36 Rename 64bit ODBC driver Mirko Klingmann <Mirko.Klingmann@gbs.com>
@ 2019-04-04 03:49 ` Craig Ringer <craig@2ndquadrant.com>
2019-04-04 03:52 ` RE: Rename 64bit ODBC driver Grant Shirreffs <GShirreffs@stayinfront.com>
1 sibling, 1 reply; 5+ messages in thread
From: Craig Ringer @ 2019-04-04 03:49 UTC (permalink / raw)
To: Mirko Klingmann <Mirko.Klingmann@gbs.com>; +Cc: pgsql-odbc@lists.postgresql.org <pgsql-odbc@lists.postgresql.org>
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).
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
^ permalink raw reply [nested|flat] 5+ messages in thread
* RE: Rename 64bit ODBC driver
2019-04-03 12:36 Rename 64bit ODBC driver Mirko Klingmann <Mirko.Klingmann@gbs.com>
2019-04-04 03:49 ` Re: Rename 64bit ODBC driver Craig Ringer <craig@2ndquadrant.com>
@ 2019-04-04 03:52 ` Grant Shirreffs <GShirreffs@stayinfront.com>
2019-04-04 03:59 ` RE: Rename 64bit ODBC driver Grant Shirreffs <GShirreffs@stayinfront.com>
0 siblings, 1 reply; 5+ messages in thread
From: Grant Shirreffs @ 2019-04-04 03:52 UTC (permalink / raw)
To: ; +Cc: pgsql-odbc@lists.postgresql.org <pgsql-odbc@lists.postgresql.org>
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<mailto: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).
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
^ permalink raw reply [nested|flat] 5+ messages in thread
* RE: Rename 64bit ODBC driver
2019-04-03 12:36 Rename 64bit ODBC driver Mirko Klingmann <Mirko.Klingmann@gbs.com>
2019-04-04 03:49 ` Re: Rename 64bit ODBC driver Craig Ringer <craig@2ndquadrant.com>
2019-04-04 03:52 ` RE: Rename 64bit ODBC driver Grant Shirreffs <GShirreffs@stayinfront.com>
@ 2019-04-04 03:59 ` Grant Shirreffs <GShirreffs@stayinfront.com>
0 siblings, 0 replies; 5+ messages in thread
From: Grant Shirreffs @ 2019-04-04 03:59 UTC (permalink / raw)
To: ; +Cc: pgsql-odbc@lists.postgresql.org <pgsql-odbc@lists.postgresql.org>
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<mailto:craig@2ndquadrant.com>>
Sent: Thursday, 4 April 2019 16:49
To: Mirko Klingmann <Mirko.Klingmann@gbs.com<mailto:Mirko.Klingmann@gbs.com>>
Cc: pgsql-odbc@lists.postgresql.org<mailto: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<mailto: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).
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
^ permalink raw reply [nested|flat] 5+ messages in thread
end of thread, other threads:[~2019-04-04 03:59 UTC | newest]
Thread overview: 5+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2019-04-03 12:36 Rename 64bit ODBC driver Mirko Klingmann <Mirko.Klingmann@gbs.com>
2019-04-03 19:59 ` Grant Shirreffs <GShirreffs@stayinfront.com>
2019-04-04 03:49 ` Craig Ringer <craig@2ndquadrant.com>
2019-04-04 03:52 ` Grant Shirreffs <GShirreffs@stayinfront.com>
2019-04-04 03:59 ` Grant Shirreffs <GShirreffs@stayinfront.com>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox