Re: 2PC transaction id

Поиск
Список
Период
Сортировка
От Oliver Jowett
Тема Re: 2PC transaction id
Дата
Msg-id 42C48250.5090808@opencloud.com
обсуждение исходный текст
Ответ на 2PC transaction id  (Dave Cramer <pg@fastcrypt.com>)
Ответы Re: 2PC transaction id  (Dave Cramer <pg@fastcrypt.com>)
Список pgsql-hackers
Dave Cramer wrote:
> Do the transaction id's used in 2PC need to be unique across all  sessions?

They are global IDs, yes.

> Do we provide a mechanism for this ?
> 
> If not shouldn't we provide a way to create a unique transaction id ?

Well, in XA the XIDs are assigned by the TM, the individual resources
(e.g. a postgresql backend) just get *given* an XID to use.

-O


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Dave Cramer
Дата:
Сообщение: Re: 2PC transaction id
Следующее
От: Dave Cramer
Дата:
Сообщение: Re: 2PC transaction id