| От | Tom Lane |
|---|---|
| Тема | Re: 2PC transaction id |
| Дата | |
| Msg-id | 23857.1120186304@sss.pgh.pa.us обсуждение |
| Ответ на | Re: 2PC transaction id (Oliver Jowett <oliver@opencloud.com>) |
| Ответы |
Re: 2PC transaction id
|
| Список | 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 по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера