Skip site navigation (1) Skip section navigation (2)

Re: 2PC transaction id

From: Oliver Jowett <oliver(at)opencloud(dot)com>
To: Dave Cramer <pg(at)fastcrypt(dot)com>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: 2PC transaction id
Date: 2005-06-30 23:37:52
Message-ID: 42C48250.5090808@opencloud.com (view raw or flat)
Thread:
Lists: pgsql-hackerspgsql-patches
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

In response to

Responses

pgsql-hackers by date

Next:From: Dave CramerDate: 2005-06-30 23:47:39
Subject: Re: 2PC transaction id
Previous:From: Dave CramerDate: 2005-06-30 22:59:19
Subject: Re: 2PC transaction id

pgsql-patches by date

Next:From: Dave CramerDate: 2005-06-30 23:47:39
Subject: Re: 2PC transaction id
Previous:From: Dave CramerDate: 2005-06-30 22:59:19
Subject: Re: 2PC transaction id

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group