Thanks to visit codestin.com
Credit goes to postgrespro.com

Re: XID wraparound and busy databases - Mailing list pgsql-hackers

From Tom Lane
Subject Re: XID wraparound and busy databases
Date
Msg-id [email protected]
Whole thread Raw
In response to Re: XID wraparound and busy databases  (Robert Treat <[email protected]>)
Responses Re: XID wraparound and busy databases
List pgsql-hackers
Robert Treat <[email protected]> writes:
> I'm a little confused, wouldnt the transaction that waits 30 minutes before 
> modifying data need to get an XID that jives with the system when it's 
> transaction started, not when it began manipulating data?

Why?

> Would it really be safe to take a new snapshot at that time,

You wouldn't take a new snapshot.  The thought that occurs to me is that
there's no reason that a transaction has to have an XID for itself
before it takes a snapshot.  We always special-case our own XID anyway.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Gregory Stark
Date:
Subject: Re: Index Tuple Compression Approach?
Next
From: Ron Mayer
Date:
Subject: Re: tsearch2 in PostgreSQL 8.3?