postgres.git / summary / log / commit / refs
commit e459dcfde80402ab55e2fe84c5be4483ce34fce1
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: Mon Dec 13 22:49:36 2021 +0000
First released in: 15.0, 13.6, 14.2
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
doc/src/sgml/func.sgml | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml
index cfcedfd702e..83e094e812a 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).
[parent: 65f860e78a04]