Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Wv0NA-0007ZG-Re for pgsql-odbc@arkaria.postgresql.org; Thu, 12 Jun 2014 08:28:36 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Wv0N9-0000V4-Fo for pgsql-odbc@arkaria.postgresql.org; Thu, 12 Jun 2014 08:28:35 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1Wv0N8-0000Uw-HF for pgsql-odbc@postgresql.org; Thu, 12 Jun 2014 08:28:34 +0000 Received: from mout.kundenserver.de ([212.227.17.10]) by makus.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1Wv0N5-00029d-5g for pgsql-odbc@postgresql.org; Thu, 12 Jun 2014 08:28:32 +0000 Received: from ayaki.localdomain (106-69-126-132.dyn.iinet.net.au [106.69.126.132]) by mrelayeu.kundenserver.de (node=mreue101) with ESMTP (Nemesis) id 0MAvMi-1X4rj20nYa-009xe4; Thu, 12 Jun 2014 10:28:26 +0200 Message-ID: <539964A3.8090707@2ndquadrant.com> Date: Thu, 12 Jun 2014 16:28:19 +0800 From: Craig Ringer Organization: 2nd Quadrant User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 MIME-Version: 1.0 To: "Inoue, Hiroshi" CC: "pgsql-odbc@postgresql.org" Subject: Re: XA registry entries are missing from 64-bit install References: <5399240A.8030109@2ndquadrant.com> <53994289.2020801@tpf.co.jp> In-Reply-To: <53994289.2020801@tpf.co.jp> X-Enigmail-Version: 1.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Provags-ID: V02:K0:7xaIsHKg7qFHYLZdJyhpsG3F6xH5AfcqjaXvX7bslXp f8hw51GPpgDAGk1K2RSw1nVApNJ0Z0V29Z6SkJES/66xPCizjT sdX8icC5cvlq7Tubw2O4juFewAOPlWs5heRQJmoia8H55I8x7p D/qb/kWd+yq4db1Rzp5SxnsGOj6jAI93q595l7AbY7U67Lo8VH CiHybAJSy/neEbmeOBIaWvXamM80dwHb7gYG9Oq4SeSlDiz/A/ 0ZxjQzvfKfQOZ10TRHAHJK0MuJabanLUy/5cBu+Og6FBO92a7F Bc/kb3IzJM7rkDcAfHZibnIHsU+9IK5qh99KeHPp2Nl5kDF9hG m2oA1f1xJ3AkrGEYeTu5TR9Nq4V20srg0fTwZO35W X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-odbc Precedence: bulk Sender: pgsql-odbc-owner@postgresql.org 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(). 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? Looking at the current code, it appears that it tries to overwrite any existing value in that subkey if XA enlistment fails. So it should also "upgrade" existing entries. Right? -- Craig Ringer http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services -- Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-odbc