public inbox for [email protected]
help / color / mirror / Atom feedFrom: trn nrjn <[email protected]>
To: [email protected]
Cc: [email protected]
Subject: Re: PostgreSQL XA resource manager for C/C++ apps
Date: Thu, 25 Nov 2021 14:24:51 +0530
Message-ID: <CAP7o3-iG9v34X+RhGT2qbUhDXYo6NKZ_y_1=Sx93RpAorb_RCQ@mail.gmail.com> (raw)
In-Reply-To: <CADK3HHLB9MFQmeMm4ttbH51eArXYv2NnAkRKeA-LBUr5MVcTdA@mail.gmail.com>
References: <[email protected]>
<CAP7o3-jJSRzXSkOryYrn2OVkHBL8KB3akijW0ALK4w_bh_zRHw@mail.gmail.com>
<CAP7o3-ipfMjoz7g64=O2jnk9rwXJevzJL5jJWJh4nSZKXuz-og@mail.gmail.com>
<CADK3HHLB9MFQmeMm4ttbH51eArXYv2NnAkRKeA-LBUr5MVcTdA@mail.gmail.com>
Thanks Dave. This seems to use ODBC whereas I am looking for XA support in
PostgreSQL C/C++ client library itself, something similar to what Oracle
provides in the OCI library. Can you please suggest if there is one?
Thanks.
On Tue, 23 Nov 2021 at 7:16 PM, Dave Cramer <[email protected]>
wrote:
>
>
> On Tue, 23 Nov 2021 at 02:10, trn nrjn <[email protected]> wrote:
>
>> Hi,
>>
>> Could you please assist with the following when not using ODBC/JDBC?
>>
>> 1. Does PostgreSQL participate as an XA resource manager in an XA
>> transaction managed by a transaction manager (eg: Oracle Tuxedo) for C/C++
>> applications?
>>
>> 2. If so, can you please advice -
>>
>> 2.1. PostgreSQL xa_open string to be used for PostgreSQL
>> XA resource manager by C/C++ applications managed by a a transaction
>> manager (eg: Oracle Tuxedo)?
>>
>> 2.2. PostgreSQL XA switch structure (xa_switch_t) to be
>> used (similar to xaosw for Oracle database)?
>>
>> 2.3. Is there any link that I can use as reference for
>> PostgreSQL XA resource manager?
>>
>> Thanks and regards
>> Shuba
>>
>
> opengauss-mirror/openGauss-connector-odbc: openGauss odbc connector
> (github.com)
> <https://github.com/opengauss-mirror/openGauss-connector-odbc; seems to
> have one.
>
> Dave Cramer
> www.postgres.rocks
>
>
view thread (4+ messages) latest in thread
reply
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 using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected], [email protected], [email protected]
Subject: Re: PostgreSQL XA resource manager for C/C++ apps
In-Reply-To: <CAP7o3-iG9v34X+RhGT2qbUhDXYo6NKZ_y_1=Sx93RpAorb_RCQ@mail.gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox