Re: XA registry entries are missing from 64-bit install - Mailing list pgsql-odbc

From Inoue, Hiroshi
Subject Re: XA registry entries are missing from 64-bit install
Date
Msg-id 53994289.2020801@tpf.co.jp
Whole thread Raw
In response to XA registry entries are missing from 64-bit install  (Craig Ringer <craig@2ndquadrant.com>)
Responses Re: XA registry entries are missing from 64-bit install  (Craig Ringer <craig@2ndquadrant.com>)
List pgsql-odbc
(2014/06/12 12:52), Craig Ringer wrote:
> Hi folks
>
> A customer has pointed out as part of debugging an ODBC and MSDTC
> related test case that the registry entries registering pgxalib.dll as a
> valid XA transaction provider are not installed by the 64-bit MSI.
>
> They're correctly created by the 32-bit installer MSI, at least on
> 64-bit Windows, where they appear in syswow64.

The installer MSIs don't create the registry entries currently.
pgenlist(a).dll associated with the drivers try to create the
entries when (maybe first) IDtcToXaHelperSinglePipe::XARMCreate()
call fails. Invoking 64bit MSDTC related applications would resolve
the problem if possible.

Because msdtc process seems a 64bit application, 64bit pgxalib.dll
should be registered even when 32bit applications use MSDTC support.
The current way of registration isn't appropriate and 64bit installer
would have to register the entry beforehand.

regards,
Hiroshi Inoue


--
I am using the free version of SPAMfighter.
SPAMfighter has removed 10777 of my spam emails to date.
Get the free SPAMfighter here: http://www.spamfighter.com/len

Do you have a slow PC? Try a Free scan
http://www.spamfighter.com/SLOW-PCfighter?cid=sigen



pgsql-odbc by date:

Previous
From: Craig Ringer
Date:
Subject: Re: XA registry entries are missing from 64-bit install
Next
From: Craig Ringer
Date:
Subject: Build failure with VS 2012 due to uninitialized pointers