pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
OIDs wraparaound: postgresql (different versions) behavior
2+ messages / 2 participants
[nested] [flat]

* OIDs wraparaound: postgresql (different versions) behavior
@ 2006-05-08 10:09  Francesco Dalla Ca' <f.dallaca@cineca.it>
  0 siblings, 1 reply; 2+ messages in thread

From: Francesco Dalla Ca' @ 2006-05-08 10:09 UTC (permalink / raw)
  To: pgsql-admin

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?

Thank in advance for replies.

Best regards,
Francesco.

-- 
--------------------------------------------------
Francesco Dalla Ca'
Settore Gestione Sistemi CINECA
Via Magnanelli 6/3  40033 Casalecchio di Reno (BO)
Bologna, Italy		     http://www.cineca.it
-------------------------------------------------- 




^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: OIDs wraparaound: postgresql (different versions) behavior
@ 2006-05-08 18:00  Jim C. Nasby <jnasby@pervasive.com>
  parent: Francesco Dalla Ca' <f.dallaca@cineca.it>
  0 siblings, 0 replies; 2+ messages in thread

From: Jim C. Nasby @ 2006-05-08 18:00 UTC (permalink / raw)
  To: Francesco Dalla Ca' <f.dallaca@cineca.it>; +Cc: pgsql-admin

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



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2006-05-08 18:00 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2006-05-08 10:09 OIDs wraparaound: postgresql (different versions) behavior Francesco Dalla Ca' <f.dallaca@cineca.it>
2006-05-08 18:00 ` Jim C. Nasby <jnasby@pervasive.com>

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