From ba2edcac4fd3c41b58a72f0244ebc0caaeead4af Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Wed, 22 Nov 2006 04:17:03 +0000 Subject: Mention OIDs are now not created by default. --- doc/src/FAQ/FAQ.html | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'doc/src') diff --git a/doc/src/FAQ/FAQ.html b/doc/src/FAQ/FAQ.html index 6231f266efb..146de2c240d 100644 --- a/doc/src/FAQ/FAQ.html +++ b/doc/src/FAQ/FAQ.html @@ -10,7 +10,7 @@ alink="#0000ff">

Frequently Asked Questions (FAQ) for PostgreSQL

-

Last updated: Tue Nov 21 10:37:54 EST 2006

+

Last updated: Tue Nov 21 23:16:54 EST 2006

Current maintainer: Bruce Momjian (bruce@momjian.us) @@ -956,13 +956,13 @@ length

4.12) What is an OID? What is a CTID?

-

Every row that is created in PostgreSQL gets a unique - OID unless created WITHOUT OIDS. - OIDs are automatically assigned unique 4-byte - integers that are unique across the entire installation. However, - they overflow at 4 billion, and then the OIDs start - being duplicated. PostgreSQL uses OIDs to link its - internal system tables together.

+

If a table is created WITH OIDS, each row + gets a unique a OID. OIDs are + automatically assigned unique 4-byte integers that are unique + across the entire installation. However, they overflow at 4 + billion, and then the OIDs start being duplicated. + PostgreSQL uses OIDs to link its internal system + tables together.

To uniquely number rows in user tables, it is best to use SERIAL rather than OIDs because -- cgit v1.2.3