11<!--
2- $PostgreSQL: pgsql/doc/src/sgml/datatype.sgml,v 1.155 2005/01/22 22:56:35 momjian Exp $
2+ $PostgreSQL: pgsql/doc/src/sgml/datatype.sgml,v 1.156 2005/03/13 09:36:30 neilc Exp $
33-->
44
55 <chapter id="datatype">
@@ -2980,12 +2980,12 @@ SELECT * FROM test;
29802980 <para>
29812981 Object identifiers (OIDs) are used internally by
29822982 <productname>PostgreSQL</productname> as primary keys for various
2983- system tables. An OID system column is also added to user-created
2984- tables, unless <literal>WITHOUT OIDS</literal> is specified when
2985- the table is created, or the <xref linkend="guc-default-with-oids">
2986- configuration variable is set to false . Type <type>oid</>
2987- represents an object identifier. There are also several alias
2988- types for <type>oid</>: <type>regproc</>, <type>regprocedure</>,
2983+ system tables. OIDs are not added to user-created tables, unless
2984+ <literal>WITH OIDS</literal> is specified when the table is
2985+ created, or the <xref linkend="guc-default-with-oids">
2986+ configuration variable is enabled . Type <type>oid</> represents
2987+ an object identifier. There are also several alias types for
2988+ <type>oid</>: <type>regproc</>, <type>regprocedure</>,
29892989 <type>regoper</>, <type>regoperator</>, <type>regclass</>, and
29902990 <type>regtype</>. <xref linkend="datatype-oid-table"> shows an
29912991 overview.
@@ -3000,28 +3000,11 @@ SELECT * FROM test;
30003000 references to system tables.
30013001 </para>
30023002
3003- <note>
3004- <para>
3005- OIDs are included by default in user-created tables in
3006- <productname>PostgreSQL</productname> &version;. However, this
3007- behavior is likely to change in a future version of
3008- <productname>PostgreSQL</productname>. Eventually, user-created
3009- tables will not include an OID system column unless <literal>WITH
3010- OIDS</literal> is specified when the table is created, or the
3011- <varname>default_with_oids</varname> configuration variable is set
3012- to true. If your application requires the presence of an OID
3013- system column in a table, it should specify <literal>WITH
3014- OIDS</literal> when that table is created to ensure compatibility
3015- with future releases of <productname>PostgreSQL</productname>.
3016- </para>
3017- </note>
3018-
30193003 <para>
30203004 The <type>oid</> type itself has few operations beyond comparison.
3021- It can be cast to
3022- integer, however, and then manipulated using the standard integer
3023- operators. (Beware of possible signed-versus-unsigned confusion
3024- if you do this.)
3005+ It can be cast to integer, however, and then manipulated using the
3006+ standard integer operators. (Beware of possible
3007+ signed-versus-unsigned confusion if you do this.)
30253008 </para>
30263009
30273010 <para>
0 commit comments