pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jim C. Nasby <jnasby@pervasive.com>
To: Francesco Dalla Ca' <f.dallaca@cineca.it>
Cc: pgsql-admin@postgresql.org
Subject: Re: OIDs wraparaound: postgresql (different versions) behavior
Date: Mon, 8 May 2006 13:00:26 -0500
Message-ID: <20060508180026.GZ99570@pervasive.com> (raw)
In-Reply-To: <445F18C5.1090709@cineca.it>
References: <445F18C5.1090709@cineca.it>

On Mon, May 08, 2006 at 12:09:13PM +0200, Francesco Dalla Ca' wrote:
> The PostgreSQL manual explain that from 8.1 the default behavior 
> (governed by default_with_oids system parameter) is to create user 
> tables "without oids".
> 
> Well, at the page 
> http://www.postgresql.org/docs/8.1/interactive/datatype-oid.html , the 
> manual report this:
> "Object identifiers (OIDs) are used internally by PostgreSQL as primary 
> keys for various system tables."
> 
> What do i look and take care about the OID wraparound phenomenon? (On a 
> DBA perspective)
> There is a possibility for a data inconsistency? (Or possibles database 
> blocking errors?)
> What's the differents server behaviors for this phenomenon on differents 
> realeases?

In older versions if you wrapped the OID counter you'd get an error
about 'unable to create file' when you tried to create a new object and
the OID counter was pointing at a OID that had been used for another
object. That's fixed in 8.1.
-- 
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



view thread (2+ messages)

Message-ID: <20060508180026.GZ99570@pervasive.com>
Permalink:  ../20060508180026.GZ99570@pervasive.com/
Also on:    postgresql.org/message-id/20060508180026.GZ99570@pervasive.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: jnasby@pervasive.com, f.dallaca@cineca.it
  Subject: Re: OIDs wraparaound: postgresql (different versions) behavior
  In-Reply-To: <20060508180026.GZ99570@pervasive.com>
  References: <445F18C5.1090709@cineca.it> <20060508180026.GZ99570@pervasive.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox