Mention OIDs are now not created by default.
authorBruce Momjian
Wed, 22 Nov 2006 04:17:03 +0000 (04:17 +0000)
committerBruce Momjian
Wed, 22 Nov 2006 04:17:03 +0000 (04:17 +0000)
doc/FAQ
doc/src/FAQ/FAQ.html

diff --git a/doc/FAQ b/doc/FAQ
index 7036cfc66316639ac255dc48224b8e27d3c1c352..89292219a16a0a172d9defe03414b496961d874c 100644 (file)
--- a/doc/FAQ
+++ b/doc/FAQ
@@ -1,7 +1,7 @@
 
                 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 ([email protected])
    
    
   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 SERIAL sequences are unique only within a
index 6231f266efba00f89f861d9effe12114f9d44d72..146de2c240db81a7955d22aff73774c69efc2e5c 100644 (file)
@@ -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 (

@@ -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