Re: pgsql: Refactor geometric functions and operators

Michael Paquier <michael@paquier.xyz>

From: Michael Paquier <michael@paquier.xyz>
To: Tomas Vondra <tomas.vondra@postgresql.org>
Cc: pgsql-committers@lists.postgresql.org
Date: 2018-07-29T14:59:32Z
Lists: pgsql-hackers
On Sun, Jul 29, 2018 at 12:43:29AM +0000, Tomas Vondra wrote:
> Refactor geometric functions and operators
> 
> The primary goal of this patch is to eliminate duplicate code and share
> code between different geometric data types more often, to prepare the
> ground for additional patches.  Until now the code reuse was limited,
> probably because the simpler types (line and point) were implemented
> after the more complex ones.

It looks that this commit has upset a couple of OSX animals, locus and
prairiedog:
https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=locust&dt=2018-07-29%2013%3A13%3A35

Some AIX animals are also upset for the same reason with the handling
of a negative sign with 0.
--
Michael

Commits

  1. geo_ops.c: Clarify comments and function arguments

  2. Refactor geometric functions and operators