Re: Ever increasing OIDs - gonna run out soon? - Mailing list pgsql-general

From Jim C. Nasby
Subject Re: Ever increasing OIDs - gonna run out soon?
Date
Msg-id 20060612155045.GW34196@pervasive.com
Whole thread Raw
In response to Re: Ever increasing OIDs - gonna run out soon?  ("Qingqing Zhou" <zhouqq@cs.toronto.edu>)
Responses Re: Ever increasing OIDs - gonna run out soon?
List pgsql-general
On Mon, Jun 12, 2006 at 10:01:43AM +0800, Qingqing Zhou wrote:
>
> "John Sidney-Woollett" <johnsw@wardbrook.com> wrote
> >
> > It looks like the db is using them at the rate of 1.5 million per day.
> > At what value will I hit a wraparound, and what options do I have to
> > identify/fix the (impending) problem.
> >
>
> The Oid will wraparound when it reaches the 32bits unsigned integer limit.
> If you don't use the oid explicitely in your application, then you don't
> worry about it.

Except IIRC the OP is running 7.4 which doesn't have checks in DDL code
to deal with OID collisions. :(
--
Jim C. Nasby, Sr. Engineering Consultant      jnasby@pervasive.com
Pervasive Software      http://pervasive.com    work: 512-231-6117
vcard: http://jim.nasby.net/pervasive.vcf       cell: 512-569-9461

pgsql-general by date:

Previous
From: Kenneth Downs
Date:
Subject: Re: are there static variables in pgsql?
Next
From: "Jim C. Nasby"
Date:
Subject: Re: Disk corruption detection