Re: XA registry entries are missing from 64-bit install

From: "Inoue, Hiroshi" <inoue(at)tpf(dot)co(dot)jp>
To: Craig Ringer <craig(at)2ndquadrant(dot)com>
Cc: "pgsql-odbc(at)postgresql(dot)org" <pgsql-odbc(at)postgresql(dot)org>
Subject: Re: XA registry entries are missing from 64-bit install
Date: 2014-06-12 06:02:49
Message-ID: 53994289.2020801@tpf.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-odbc by date

  From Date Subject
Next Message Craig Ringer 2014-06-12 07:53:18 Build failure with VS 2012 due to uninitialized pointers
Previous Message Craig Ringer 2014-06-12 03:54:24 Re: XA registry entries are missing from 64-bit install