aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/misc/guc.c
diff options
context:
space:
mode:
authorNeil Conway <neilc@samurai.com>2005-03-13 09:36:31 +0000
committerNeil Conway <neilc@samurai.com>2005-03-13 09:36:31 +0000
commitff02d0a05280e96e0b91b97ec50e98611f9c7598 (patch)
tree430a642c7e87e1585db184183a4f0ce523412ef6 /src/backend/utils/misc/guc.c
parent0edc2f14e0b5ece995a5ebb7f36ea593d730c4aa (diff)
downloadpostgresql-ff02d0a05280e96e0b91b97ec50e98611f9c7598.tar.gz
postgresql-ff02d0a05280e96e0b91b97ec50e98611f9c7598.zip
Make default_with_oids default to false -- user-created tables will now
no longer include OIDs, unless WITH OIDS is specified or the default_with_oids configuration parameter is enabled. Update the docs accordingly.
Diffstat (limited to 'src/backend/utils/misc/guc.c')
-rw-r--r--src/backend/utils/misc/guc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/backend/utils/misc/guc.c b/src/backend/utils/misc/guc.c
index b9486e86638..67374a4b61f 100644
--- a/src/backend/utils/misc/guc.c
+++ b/src/backend/utils/misc/guc.c
@@ -10,7 +10,7 @@
* Written by Peter Eisentraut <peter_e@gmx.net>.
*
* IDENTIFICATION
- * $PostgreSQL: pgsql/src/backend/utils/misc/guc.c,v 1.254 2005/03/04 20:21:06 tgl Exp $
+ * $PostgreSQL: pgsql/src/backend/utils/misc/guc.c,v 1.255 2005/03/13 09:36:31 neilc Exp $
*
*--------------------------------------------------------------------
*/
@@ -139,7 +139,7 @@ bool Australian_timezones = false;
bool Password_encryption = true;
-bool default_with_oids = true;
+bool default_with_oids = false;
int log_min_error_statement = PANIC;
int log_min_messages = NOTICE;
@@ -801,11 +801,11 @@ static struct config_bool ConfigureNamesBool[] =
},
{
{"default_with_oids", PGC_USERSET, COMPAT_OPTIONS_PREVIOUS,
- gettext_noop("By default, newly-created tables should have OIDs."),
+ gettext_noop("Create new tables with OIDs by default."),
NULL
},
&default_with_oids,
- true, NULL, NULL
+ false, NULL, NULL
},
{
{"redirect_stderr", PGC_POSTMASTER, LOGGING_WHERE,