From: Hiroshi Inoue <inoue@tpf.co.jp>
To: Craig Ringer <craig@2ndquadrant.com>
Cc: pgsql-odbc@postgresql.org <pgsql-odbc@postgresql.org>
Subject: Re: XA registry entries are missing from 64-bit install
Date: Fri, 13 Jun 2014 09:44:07 +0545
Message-ID: <539A770B.9030304@tpf.co.jp> (raw)
In-Reply-To: <539A17BE.5090001@tpf.co.jp>
References: <5399240A.8030109@2ndquadrant.com>
<53994289.2020801@tpf.co.jp>
<539964A3.8090707@2ndquadrant.com>
<539A17BE.5090001@tpf.co.jp>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-odbc>
(2014/06/13 2:57), Inoue, Hiroshi wrote:
>
> (2014/06/12 17:28), Craig Ringer wrote:
>> On 06/12/2014 02:02 PM, Inoue, Hiroshi wrote:
>>>
>>>
>>> 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.
>>
>> OK, so if I understand this right, it might be helpful to have
>> pgenlist.dll expose a function that's callable with rundll32 to create
>> the registry entries. Call it, say, registerxa().
>
> It should be done for pgxalib.dll not pgenlist(a).dll if we do
> such kind of registration.
>
>> Then the registry entry creation code currently in
>> EnlistInDtc_1pipe(...) could be factored out so it's callable as part of
>> EnlistInDtc_1pipe(...) or via the new entry point.
>>
>> The installer can then invoke
>>
>> rundll32 pgenlist.dll,registerxa
>>
>> to create the appropriate entries.
>>
>> Reasonable?
>>
>> Or is it better to just create/update the registry entries directly
>> using the MSI?
>
> Yes it seems better.
OK I pushd the change together with your patch [ODBC] PATCH: WiX
has moved.
regards,
Hiroshi Inoue
--
Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-odbc
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-odbc@postgresql.org
Cc: inoue@tpf.co.jp, craig@2ndquadrant.com
Subject: Re: XA registry entries are missing from 64-bit install
In-Reply-To: <539A770B.9030304@tpf.co.jp>
References: <5399240A.8030109@2ndquadrant.com> <53994289.2020801@tpf.co.jp> <539964A3.8090707@2ndquadrant.com> <539A17BE.5090001@tpf.co.jp> <539A770B.9030304@tpf.co.jp>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
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