From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Lamar Owen <lamar(dot)owen(at)wgcr(dot)org> |
Cc: | PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Patch to warn about oid/xid wraparound |
Date: | 2001-06-13 19:56:06 |
Message-ID: | 200106131956.f5DJu7a13924@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers pgsql-patches |
> On Tuesday 12 June 2001 19:33, Bruce Momjian wrote:
> > Here is a patch that will warn you during VACUUM when you are within 75%
> > of oid/xid wraparound.
>
> > I will apply it if 7.2 has no solution to the wraparounds.
>
> Is this something a potential 7.1.3 release might need? I consider this a
> bug workaround, actually. Or even a feature patch against 7.1.x that people
> can download if they think they need it?
>
> As PostgreSQL gets used in bigger and bigger database installations, the
> wraparound problems become more and more likely. And it's likely to be at
> least six months before 7.2beta, if the track record stays the same as it has
> the last three releases.
Here is an new patch that updates the percentage display when it is run,
rather than just displaying 75%. I had to do the computation using
floats to prevent overflow.
Again, I will put this in 7.2 if we have no solution for rollover.
--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
Attachment | Content-Type | Size |
---|---|---|
unknown_filename | text/plain | 2.0 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Vince Vielhaber | 2001-06-13 20:20:09 | Re: create user problem |
Previous Message | Mike Cianflone | 2001-06-13 19:16:43 | RE: vacuum |
From | Date | Subject | |
---|---|---|---|
Next Message | Peter Eisentraut | 2001-06-13 20:35:26 | Re: Patch to warn about oid/xid wraparound |
Previous Message | Tom Lane | 2001-06-13 17:22:01 | Re: Re: [PATCHES] Fw: Isn't pg_statistic a security hole - Solution Proposal |