summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2021-12-13 17:49:36 -0500
committerTom Lane <tgl@sss.pgh.pa.us>2021-12-13 17:49:36 -0500
commite459dcfde80402ab55e2fe84c5be4483ce34fce1 (patch)
treeb097834c413a99d973f9dae8b4de1d69db18d413 /doc
parent65f860e78a04f4f035dcec04c5c796793113dfba (diff)
downloadpostgresql-e459dcfde80402ab55e2fe84c5be4483ce34fce1.tar.gz
Doc: de-document unimplemented geometric operators.
In commit 791090bd7, 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 c5c192d7b just added an implementation for it.) Per complaint from Anton Voloshin. Discussion: https://postgr.es/m/3426566.1638832718@sss.pgh.pa.us
Diffstat (limited to 'doc')
-rw-r--r--doc/src/sgml/func.sgml8
1 files changed, 3 insertions, 5 deletions
diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml
index cfcedfd702..83e094e812 100644
--- a/doc/src/sgml/func.sgml
+++ b/doc/src/sgml/func.sgml
@@ -10430,7 +10430,7 @@ CREATE TYPE rainbow AS ENUM ('red', 'orange', 'yellow', 'green', 'blue', 'purple
</para>
<para>
Computes the center point.
- Available for <type>box</type>, <type>lseg</type>, <type>path</type>,
+ Available for <type>box</type>, <type>lseg</type>,
<type>polygon</type>, <type>circle</type>.
</para>
<para>
@@ -10496,8 +10496,6 @@ CREATE TYPE rainbow AS ENUM ('red', 'orange', 'yellow', 'green', 'blue', 'purple
(<type>point</type>, <type>line</type>),
(<type>lseg</type>, <type>box</type>),
(<type>lseg</type>, <type>lseg</type>),
- (<type>lseg</type>, <type>line</type>),
- (<type>line</type>, <type>box</type>),
(<type>line</type>, <type>lseg</type>).
</para>
<para>
@@ -10513,11 +10511,11 @@ CREATE TYPE rainbow AS ENUM ('red', 'orange', 'yellow', 'green', 'blue', 'purple
</para>
<para>
Computes the distance between the objects.
- Available for all seven geometric types, for all combinations
+ Available for all geometric types except <type>polygon</type>,
+ for all combinations
of <type>point</type> with another geometric type, and for
these additional pairs of types:
(<type>box</type>, <type>lseg</type>),
- (<type>box</type>, <type>line</type>),
(<type>lseg</type>, <type>line</type>),
(<type>polygon</type>, <type>circle</type>)
(and the commutator cases).