From: Tom Lane Date: Sun, 17 Aug 2003 22:19:15 +0000 (+0000) Subject: Somebody forgot to include any actual documentation for ADD_MISSING_FROM. X-Git-Tag: REL7_4_BETA2~42 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c771838106a4fd9289580a93b24f27d6c67b7fc7;p=postgresql Somebody forgot to include any actual documentation for ADD_MISSING_FROM. --- diff --git a/doc/src/sgml/runtime.sgml b/doc/src/sgml/runtime.sgml index 6adfd85df0..c3c42309b6 100644 --- a/doc/src/sgml/runtime.sgml +++ b/doc/src/sgml/runtime.sgml @@ -1,5 +1,5 @@ @@ -2396,6 +2396,14 @@ dynamic_library_path = '/usr/local/lib/postgresql:/home/my_project/lib:$libdir' missing from + When true, tables that are referenced by a query will be + automatically added to the FROM clause if not already + present. The default is true for compatibility with + previous releases of PostgreSQL. However, this + behavior is not SQL-standard, and many people dislike it because it + can mask mistakes. Set to false for the SQL-standard + behavior of rejecting references to tables that are not listed in + FROM. diff --git a/src/backend/utils/misc/guc.c b/src/backend/utils/misc/guc.c index 2ff904510c..c3c85354ca 100644 --- a/src/backend/utils/misc/guc.c +++ b/src/backend/utils/misc/guc.c @@ -10,7 +10,7 @@ * Written by Peter Eisentraut . * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/utils/misc/guc.c,v 1.149 2003/08/11 23:04:49 tgl Exp $ + * $Header: /cvsroot/pgsql/src/backend/utils/misc/guc.c,v 1.150 2003/08/17 22:19:15 tgl Exp $ * *-------------------------------------------------------------------- */ @@ -818,7 +818,7 @@ static struct config_bool ConfigureNamesBool[] = }, { {"add_missing_from", PGC_USERSET, COMPAT_OPTIONS_PREVIOUS, - gettext_noop("Add missing table references to from clauses"), + gettext_noop("Add missing table references to FROM clauses"), NULL }, &add_missing_from,