OSDN Git Service

Clarify that NATURAL without matching columns is like CROSS JOIN.
authorRobert Haas <rhaas@postgresql.org>
Mon, 13 Jun 2011 16:59:04 +0000 (12:59 -0400)
committerRobert Haas <rhaas@postgresql.org>
Mon, 13 Jun 2011 16:59:04 +0000 (12:59 -0400)
As suggested by Grzegorz Szpetkowski.

doc/src/sgml/queries.sgml

index b3cf39a..7ca640e 100644 (file)
@@ -266,7 +266,9 @@ FROM <replaceable>table_reference</replaceable> <optional>, <replaceable>table_r
         <literal>USING</>: it forms a <literal>USING</> list
         consisting of all column names that appear in both
         input tables.  As with <literal>USING</>, these columns appear
-        only once in the output table.
+        only once in the output table.  If there are no common
+        columns, <literal>NATURAL</literal> behaves like
+        <literal>CROSS JOIN</literal>.
        </para>
 
        <para>