doc: change "cross product" to "Cartesian product"

Reported-by: Erik Wienhold

Discussion: https://postgr.es/m/2053109544.160895.1684955437950@office.mailbox.org

Author: Erik Wienhold

Backpatch-through: master
This commit is contained in:
Bruce Momjian 2023-09-07 15:47:53 -04:00
parent 9caf042088
commit 8438a3ffef
1 changed files with 2 additions and 2 deletions

View File

@ -392,7 +392,7 @@ FROM <replaceable>table_reference</replaceable> <optional>, <replaceable>table_r
input tables. As with <literal>USING</literal>, these columns appear
only once in the output table. If there are no common
column names, <literal>NATURAL JOIN</literal> behaves like
<literal>JOIN ... ON TRUE</literal>, producing a cross-product join.
<literal>CROSS JOIN</literal>.
</para>
<note>
@ -1362,7 +1362,7 @@ GROUPING SETS (
<para>
If multiple grouping items are specified in a single <literal>GROUP BY</literal>
clause, then the final list of grouping sets is the cross product of the
clause, then the final list of grouping sets is the Cartesian product of the
individual items. For example:
<programlisting>
GROUP BY a, CUBE (b, c), GROUPING SETS ((d), (e))