Re: 2PC transaction id

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: 2PC transaction id
Дата
Msg-id 23603.1120184506@sss.pgh.pa.us
обсуждение исходный текст
Ответ на 2PC transaction id  (Dave Cramer <pg@fastcrypt.com>)
Список pgsql-hackers
Dave Cramer <pg@fastcrypt.com> writes:
> Do the transaction id's used in 2PC need to be unique across all  
> sessions?
> Do we provide a mechanism for this ?
> If not shouldn't we provide a way to create a unique transaction id ?

I see no value in that at all.  The point of 2PC is to synchronize with
other databases running other transactions; an ID assigned by one
database that can only be guaranteed unique with respect to that
database is really pretty useless.  In practice the IDs will be assigned
by the transaction manager module according to its own needs.
        regards, tom lane


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

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