Somebody forgot to include any actual documentation for ADD_MISSING_FROM.

This commit is contained in:
Tom Lane 2003-08-17 22:19:15 +00:00
parent 4215947986
commit c771838106
2 changed files with 11 additions and 3 deletions

View File

@ -1,5 +1,5 @@
<!-- <!--
$Header: /cvsroot/pgsql/doc/src/sgml/runtime.sgml,v 1.199 2003/08/10 01:20:34 tgl Exp $ $Header: /cvsroot/pgsql/doc/src/sgml/runtime.sgml,v 1.200 2003/08/17 22:19:10 tgl Exp $
--> -->
<Chapter Id="runtime"> <Chapter Id="runtime">
@ -2396,6 +2396,14 @@ dynamic_library_path = '/usr/local/lib/postgresql:/home/my_project/lib:$libdir'
<indexterm><primary>missing from</></> <indexterm><primary>missing from</></>
<listitem> <listitem>
<para> <para>
When <literal>true</>, tables that are referenced by a query will be
automatically added to the <literal>FROM</> clause if not already
present. The default is <literal>true</> for compatibility with
previous releases of <productname>PostgreSQL</>. However, this
behavior is not SQL-standard, and many people dislike it because it
can mask mistakes. Set to <literal>false</> for the SQL-standard
behavior of rejecting references to tables that are not listed in
<literal>FROM</>.
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>

View File

@ -10,7 +10,7 @@
* Written by Peter Eisentraut <peter_e@gmx.net>. * Written by Peter Eisentraut <peter_e@gmx.net>.
* *
* IDENTIFICATION * 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, {"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 NULL
}, },
&add_missing_from, &add_missing_from,