Skip to content

Commit a80fd2a

Browse files
committed
Doc: de-document unimplemented geometric operators.
In commit 791090b, I made an effort to fill in documentation for all geometric operators listed in pg_operator. However, it now appears that at least some of the omissions may have been intentional, because some of those operator entries point at unimplemented stub functions. Remove those from the docs again. (In HEAD, poly_distance stays, because c5c192d just added an implementation for it.) Per complaint from Anton Voloshin. Discussion: https://postgr.es/m/3426566.1638832718@sss.pgh.pa.us
1 parent 5b5455b commit a80fd2a

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

doc/src/sgml/func.sgml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10641,7 +10641,7 @@ CREATE TYPE rainbow AS ENUM ('red', 'orange', 'yellow', 'green', 'blue', 'purple
1064110641
</para>
1064210642
<para>
1064310643
Computes the center point.
10644-
Available for <type>box</type>, <type>lseg</type>, <type>path</type>,
10644+
Available for <type>box</type>, <type>lseg</type>,
1064510645
<type>polygon</type>, <type>circle</type>.
1064610646
</para>
1064710647
<para>
@@ -10707,8 +10707,6 @@ CREATE TYPE rainbow AS ENUM ('red', 'orange', 'yellow', 'green', 'blue', 'purple
1070710707
(<type>point</type>, <type>line</type>),
1070810708
(<type>lseg</type>, <type>box</type>),
1070910709
(<type>lseg</type>, <type>lseg</type>),
10710-
(<type>lseg</type>, <type>line</type>),
10711-
(<type>line</type>, <type>box</type>),
1071210710
(<type>line</type>, <type>lseg</type>).
1071310711
</para>
1071410712
<para>
@@ -10724,11 +10722,11 @@ CREATE TYPE rainbow AS ENUM ('red', 'orange', 'yellow', 'green', 'blue', 'purple
1072410722
</para>
1072510723
<para>
1072610724
Computes the distance between the objects.
10727-
Available for all seven geometric types, for all combinations
10725+
Available for all geometric types except <type>polygon</type>,
10726+
for all combinations
1072810727
of <type>point</type> with another geometric type, and for
1072910728
these additional pairs of types:
1073010729
(<type>box</type>, <type>lseg</type>),
10731-
(<type>box</type>, <type>line</type>),
1073210730
(<type>lseg</type>, <type>line</type>),
1073310731
(<type>polygon</type>, <type>circle</type>)
1073410732
(and the commutator cases).

0 commit comments

Comments
 (0)