Skip site navigation (1) Skip section navigation (2)

Re: [HACKERS] Length of OID

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Michael Meskes <meskes(at)postgreSQL(dot)org>
Cc: PostgreSQL Hacker <pgsql-hackers(at)postgreSQL(dot)org>
Subject: Re: [HACKERS] Length of OID
Date: 2000-01-27 23:09:26
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers
Michael Meskes <meskes(at)postgreSQL(dot)org> writes:
> I saw that it is a 4 byte integer on my site, but is that guaranteed?

Yes, for now anyway.

Eventually I'd like to see us offering 8-byte OIDs, because a DB that's
been running for a while could wrap around the OID counter and produce
duplicate OIDs :-(.  But until support for 8-byte "long long int" is
pretty standard, I don't think we can do it without creating tremendous
portability problems.

			regards, tom lane

In response to

pgsql-hackers by date

Next:From: Hiroshi InoueDate: 2000-01-27 23:59:23
Subject: RE: [SQL] RE: [GENERAL] Problem with SELECT on large negative INT4
Previous:From: Kristofer MunnDate: 2000-01-27 23:03:05
Subject: Orphaned files in the database...

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group