public inbox for [email protected]  
help / color / mirror / Atom feed
PostgreSQL XA resource manager for C/C++ apps
4+ messages / 2 participants
[nested] [flat]

* PostgreSQL XA resource manager for C/C++ apps
@ 2021-11-23 07:09 trn nrjn <[email protected]>
  2021-11-23 13:46 ` Re: PostgreSQL XA resource manager for C/C++ apps Dave Cramer <[email protected]>
  0 siblings, 1 reply; 4+ messages in thread

From: trn nrjn @ 2021-11-23 07:09 UTC (permalink / raw)
  To: [email protected]

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


^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: PostgreSQL XA resource manager for C/C++ apps
  2021-11-23 07:09 PostgreSQL XA resource manager for C/C++ apps trn nrjn <[email protected]>
@ 2021-11-23 13:46 ` Dave Cramer <[email protected]>
  2021-11-25 08:54   ` Re: PostgreSQL XA resource manager for C/C++ apps trn nrjn <[email protected]>
  0 siblings, 1 reply; 4+ messages in thread

From: Dave Cramer @ 2021-11-23 13:46 UTC (permalink / raw)
  To: trn nrjn <[email protected]>; +Cc: [email protected]

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


^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: PostgreSQL XA resource manager for C/C++ apps
  2021-11-23 07:09 PostgreSQL XA resource manager for C/C++ apps trn nrjn <[email protected]>
  2021-11-23 13:46 ` Re: PostgreSQL XA resource manager for C/C++ apps Dave Cramer <[email protected]>
@ 2021-11-25 08:54   ` trn nrjn <[email protected]>
  2021-11-25 11:03     ` Re: PostgreSQL XA resource manager for C/C++ apps Dave Cramer <[email protected]>
  0 siblings, 1 reply; 4+ messages in thread

From: trn nrjn @ 2021-11-25 08:54 UTC (permalink / raw)
  To: [email protected]; +Cc: [email protected]

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
>
>


^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: PostgreSQL XA resource manager for C/C++ apps
  2021-11-23 07:09 PostgreSQL XA resource manager for C/C++ apps trn nrjn <[email protected]>
  2021-11-23 13:46 ` Re: PostgreSQL XA resource manager for C/C++ apps Dave Cramer <[email protected]>
  2021-11-25 08:54   ` Re: PostgreSQL XA resource manager for C/C++ apps trn nrjn <[email protected]>
@ 2021-11-25 11:03     ` Dave Cramer <[email protected]>
  0 siblings, 0 replies; 4+ messages in thread

From: Dave Cramer @ 2021-11-25 11:03 UTC (permalink / raw)
  To: trn nrjn <[email protected]>; +Cc: [email protected]

On Thu, 25 Nov 2021 at 03:55, trn nrjn <[email protected]> wrote:

> 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?
>

the project does not  provide one.  If that is the question. I am not aware
of any either. Sorry .

Dave Cramer
www.postgres.rocks

>
>
> 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
>>
>>


^ permalink  raw  reply  [nested|flat] 4+ messages in thread


end of thread, other threads:[~2021-11-25 11:03 UTC | newest]

Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2021-11-23 07:09 PostgreSQL XA resource manager for C/C++ apps trn nrjn <[email protected]>
2021-11-23 13:46 ` Dave Cramer <[email protected]>
2021-11-25 08:54   ` trn nrjn <[email protected]>
2021-11-25 11:03     ` Dave Cramer <[email protected]>

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox