Re: solving wraparound - Mailing list pgsql-general

From Tom Lane
Subject Re: solving wraparound
Date
Msg-id 12449.1135633476@sss.pgh.pa.us
Whole thread Raw
In response to Re: solving wraparound  (Martijn van Oosterhout <kleptog@svana.org>)
Responses Re: solving wraparound
List pgsql-general
Martijn van Oosterhout <kleptog@svana.org> writes:
> The only issue I can think of is that constraints might be violated
> (duplicate keys in unique index) because one of the records might have
> been invisible when the second was created...

More generally, application-driven updates of derived data might be
wrong because they omitted consideration of data that had become
invisible.

This might be a good time to press your buddy to move to 8.1 ;-)
PG 8.1 contains logic that should positively prevent a wraparound, by
shutting down the server if wraparound gets too close.

            regards, tom lane

pgsql-general by date:

Previous
From: Martijn van Oosterhout
Date:
Subject: Re: solving wraparound
Next
From: "Lic. Martin Marques"
Date:
Subject: Re: solving wraparound