default_with_oids (boolean)
- This controls whether CREATE TABLE
- and CREATE TABLE AS will include OIDs in
+ This controls whether CREATE TABLE and
+ CREATE TABLE AS will include OIDs in
newly-created tables, if neither WITH OIDS
- nor WITHOUT OIDS have been specified. It
- also determines whether OIDs will be included in tables
- created by SELECT INTO. In
+ nor WITHOUT OIDS is specified. It also
+ determines whether OIDs will be included in tables created by
+ SELECT INTO. In
- default_with_oids defaults to
- true. This is also the behavior of previous versions
- of
PostgreSQL. However, assuming
- that tables will contain OIDs by default is not
- encouraged. This option will probably default to false in a
-
future release of PostgreSQL.
+ default_with_oids defaults to true. This is
+ also the behavior of previous versions of
+
PostgreSQL. However, assuming that
+ tables will contain OIDs by default is not encouraged. This
+ option will probably default to false in a future release of
future versions of
PostgreSQL, this
option should be disabled, and applications that require OIDs
on certain tables should explicitly specify WITH
- OIDS when issuing the CREATE
- TABLE statements for the tables in question.
+ OIDS when those tables are created.