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

From Alvaro Herrera
Subject Re: 2PC transaction id
Date
Msg-id 20050630224635.GB12397@surnet.cl
Whole thread Raw
In response to 2PC transaction id  (Dave Cramer <pg@fastcrypt.com>)
Responses Re: 2PC transaction id
List pgsql-hackers
On Thu, Jun 30, 2005 at 06:39:43PM -0400, Dave Cramer wrote:
> Do the transaction id's used in 2PC need to be unique across all  
> sessions?

Yes.

> Do we provide a mechanism for this ?

Huh, the constraint is enforced by the server, but the ID is generated
by the client.

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

Maybe a new function would suffice.

-- 
Alvaro Herrera (<alvherre[a]surnet.cl>)
"Use it up, wear it out, make it do, or do without"


pgsql-hackers by date:

Previous
From: Dave Cramer
Date:
Subject: 2PC transaction id
Next
From: Dave Cramer
Date:
Subject: Re: 2PC transaction id