]> granicus.if.org Git - postgresql/commit
geo_ops.c: Clarify comments and function arguments
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Thu, 15 Nov 2018 15:08:03 +0000 (12:08 -0300)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Thu, 15 Nov 2018 15:08:03 +0000 (12:08 -0300)
commit74514bd4a58dcf763d105e60a41a5f1b3eea6865
treef221be7fc5829e3cbd6e595b6bf713db9420544f
parent621a8ac5af8cf7c7799e8b704108b83be89267dd
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
src/backend/utils/adt/geo_ops.c