Skip to content

Commit c771838

Browse files
committed
Somebody forgot to include any actual documentation for ADD_MISSING_FROM.
1 parent 4215947 commit c771838

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

doc/src/sgml/runtime.sgml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$Header: /cvsroot/pgsql/doc/src/sgml/runtime.sgml,v 1.199 2003/08/10 01:20:34 tgl Exp $
2+
$Header: /cvsroot/pgsql/doc/src/sgml/runtime.sgml,v 1.200 2003/08/17 22:19:10 tgl Exp $
33
-->
44

55
<Chapter Id="runtime">
@@ -2396,6 +2396,14 @@ dynamic_library_path = '/usr/local/lib/postgresql:/home/my_project/lib:$libdir'
23962396
<indexterm><primary>missing from</></>
23972397
<listitem>
23982398
<para>
2399+
When <literal>true</>, tables that are referenced by a query will be
2400+
automatically added to the <literal>FROM</> clause if not already
2401+
present. The default is <literal>true</> for compatibility with
2402+
previous releases of <productname>PostgreSQL</>. However, this
2403+
behavior is not SQL-standard, and many people dislike it because it
2404+
can mask mistakes. Set to <literal>false</> for the SQL-standard
2405+
behavior of rejecting references to tables that are not listed in
2406+
<literal>FROM</>.
23992407
</para>
24002408
</listitem>
24012409
</varlistentry>

src/backend/utils/misc/guc.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
* Written by Peter Eisentraut <peter_e@gmx.net>.
1111
*
1212
* IDENTIFICATION
13-
* $Header: /cvsroot/pgsql/src/backend/utils/misc/guc.c,v 1.149 2003/08/11 23:04:49 tgl Exp $
13+
* $Header: /cvsroot/pgsql/src/backend/utils/misc/guc.c,v 1.150 2003/08/17 22:19:15 tgl Exp $
1414
*
1515
*--------------------------------------------------------------------
1616
*/
@@ -818,7 +818,7 @@ static struct config_bool ConfigureNamesBool[] =
818818
},
819819
{
820820
{"add_missing_from", PGC_USERSET, COMPAT_OPTIONS_PREVIOUS,
821-
gettext_noop("Add missing table references to from clauses"),
821+
gettext_noop("Add missing table references to FROM clauses"),
822822
NULL
823823
},
824824
&add_missing_from,

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy