Re: 2PC transaction id - Mailing list pgsql-hackers

From Tom Lane
Subject Re: 2PC transaction id
Date
Msg-id 23857.1120186304@sss.pgh.pa.us
Whole thread Raw
In response to Re: 2PC transaction id  (Oliver Jowett <oliver@opencloud.com>)
Responses Re: 2PC transaction id
List pgsql-hackers
Oliver Jowett <oliver@opencloud.com> writes:
> Ok, so how do we get XA working when a single global transaction
> involves two databases on the same cluster?

It's the TM's responsibility to deal with that.  I would expect it to
hand out transaction IDs that consist of a common prefix and a
per-database suffix, if it does not know which resources it's dealing
with might share a common GID namespace.

There's a reason that the XA spec has such a ridiculously large
requirement for the length of a GID name, and it is that this is the
TM's problem not ours.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Oliver Jowett
Date:
Subject: Re: 2PC transaction id
Next
From: Euler Taveira de Oliveira
Date:
Subject: Re: Open items