pgsql: geo_ops.c: Clarify comments and function arguments - Mailing list pgsql-committers

From Alvaro Herrera
Subject pgsql: geo_ops.c: Clarify comments and function arguments
Date
Msg-id E1gNJPz-0001X2-RY@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/74514bd4a58dcf763d105e60a41a5f1b3eea6865

Modified Files
--------------
src/backend/utils/adt/geo_ops.c | 172 +++++++++++++++++++++++-----------------
1 file changed, 100 insertions(+), 72 deletions(-)


pgsql-committers by date:

Previous
From: Amit Kapila
Date:
Subject: pgsql: Fix the omission in docs.
Next
From: Tom Lane
Date:
Subject: pgsql: Improve performance of partition pruning remapping a little.