|
10 | 10 | alink="#0000ff">
|
11 | 11 | <H1>Frequently Asked Questions (FAQ) for PostgreSQL</H1>
|
12 | 12 |
|
13 |
| -<P>Last updated: Tue Nov 2110:37:54 EST 2006</P> |
| 13 | +<P>Last updated: Tue Nov 2123:16:54 EST 2006</P> |
14 | 14 |
|
15 | 15 | <P>Current maintainer: Bruce Momjian (<Ahref=
|
16 | 16 | "mailto:bruce@momjian.us">bruce@momjian.us</A>)
|
@@ -956,13 +956,13 @@ <H3 id="item4.11.4">4.11.4) Why aren't my sequence numbers
|
956 | 956 | <H3id="item4.12">4.12) What is an<SMALL>OID</SMALL>? What is
|
957 | 957 | a<SMALL>CTID</SMALL>?</H3>
|
958 | 958 |
|
959 |
| -<P>Every row that is createdin PostgreSQL gets a unique |
960 |
| -<SMALL>OID</SMALL> unless created<SMALL>WITHOUT OIDS</SMALL>. |
961 |
| -O<SMALL>ID</SMALL>s areautomatically assigned unique 4-byte |
962 |
| -integers that are uniqueacross the entire installation. However, |
963 |
| -they overflow at 4billion, and then the O<SMALL>ID</SMALL>s start |
964 |
| -being duplicated.PostgreSQL uses<SMALL>OID</SMALL>s to link its |
965 |
| -internal systemtables together.</P> |
| 959 | +<P>If a table is created<SMALL>WITH OIDS</SMALL>, each row |
| 960 | +gets a unique a<SMALL>OID</SMALL>. O<SMALL>ID</SMALL>s are |
| 961 | + automatically assigned unique 4-byte integers that are unique |
| 962 | + across the entire installation. However, they overflow at 4 |
| 963 | + billion, and then the O<SMALL>ID</SMALL>s start being duplicated. |
| 964 | + PostgreSQL uses<SMALL>OID</SMALL>s to link its internal system |
| 965 | + tables together.</P> |
966 | 966 |
|
967 | 967 | <P>To uniquely number rows in user tables, it is best to use
|
968 | 968 | <SMALL>SERIAL</SMALL> rather than O<SMALL>ID</SMALL>s because
|
|