geo_ops.c: Clarify comments and function arguments

Alvaro Herrera <alvherre@alvh.no-ip.org>

Commit: 74514bd4a58dcf763d105e60a41a5f1b3eea6865
Author: Alvaro Herrera <alvherre@alvh.no-ip.org>
Date: 2018-11-15T15:08:03Z
Releases: 12.0
geo_ops.c: Clarify comments and function arguments

These functions were not crystal clear about what their respective APIs
are.  Make an effort to improve that.

Emre's patch was correct AFAICT, but I (Álvaro) felt the need to improve
a few comments a bit more.  Any resulting errors are my own.

Per complaint from Coverity, Ning Yu, and Tom Lane.

Author: Emre Hasegeli, Álvaro Herrera
Reviewed-by: Tomas Vondra, Álvaro Herrera
Discussion: https://postgr.es/m/26769.1533090136@sss.pgh.pa.us

Files

PathChange+/−
src/backend/utils/adt/geo_ops.c modified +100 −72

Discussion