Re: [HACKERS] [PATCH] Improve geometric types - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: [HACKERS] [PATCH] Improve geometric types
Date
Msg-id 20171003093521.yq2swufalfngbdpm@alvherre.pgsql
Whole thread Raw
In response to Re: [HACKERS] [PATCH] Improve geometric types  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: [HACKERS] [PATCH] Improve geometric types
List pgsql-hackers
Robert Haas wrote:

> I'm potentially willing to commit a patch that just makes the
> pg_hypot() -> hypot() change and does nothing else, if there are not
> objections to that change, but I want to be sure that we'll know right
> away if that turns out to break.

Uh, I thought pg_hypot() was still needed on our oldest supported
platforms.  Or is hypot() already supported there?  If not, I suppose we
can keep the HYPOT() macro, and have it use hypot() on platforms that
have it and pg_hypot elsewhere?  That particular fraction of 0001 seemed
a bit dubious to me, as the largest possible source of platform
dependency issues.

-- 
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

pgsql-hackers by date:

Previous
From: Ashutosh Bapat
Date:
Subject: Re: [HACKERS] Another oddity in handling of WCO constraints in postgres_fdw
Next
From: Adrien Nayrat
Date:
Subject: Re: [HACKERS] Possible SSL improvements for a newcomer to tackle