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

doc/src/sgml/queries.sgml

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