From: Tom Lane Date: Mon, 13 Dec 2021 22:49:36 +0000 (-0500) Subject: Doc: de-document unimplemented geometric operators. X-Git-Tag: REL_13_6~62 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e459dcfde80402ab55e2fe84c5be4483ce34fce1;p=thirdparty%2Fpostgresql.git 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 --- 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 Computes the center point. - Available for box, lseg, path, + Available for box, lseg, polygon, circle. @@ -10496,8 +10496,6 @@ CREATE TYPE rainbow AS ENUM ('red', 'orange', 'yellow', 'green', 'blue', 'purple (point, line), (lseg, box), (lseg, lseg), - (lseg, line), - (line, box), (line, lseg). @@ -10513,11 +10511,11 @@ CREATE TYPE rainbow AS ENUM ('red', 'orange', 'yellow', 'green', 'blue', 'purple Computes the distance between the objects. - Available for all seven geometric types, for all combinations + Available for all geometric types except polygon, + for all combinations of point with another geometric type, and for these additional pairs of types: (box, lseg), - (box, line), (lseg, line), (polygon, circle) (and the commutator cases).