Re: [Patch] Log10 and hyperbolic functions for SQL:2016 compliance

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Lætitia Avrot <laetitia.avrot@gmail.com>
Cc: Andrew Gierth <andrew@tao11.riddles.org.uk>, Alvaro Herrera <alvherre@2ndquadrant.com>, Pg Hackers <pgsql-hackers@postgresql.org>
Date: 2019-03-12T19:57:30Z
Lists: pgsql-hackers
=?UTF-8?Q?L=C3=A6titia_Avrot?= <laetitia.avrot@gmail.com> writes:
> So, as you're asking that too, maybe my reasons weren't good enough. You'll
> find enclosed a new version of the patch
> with asinh, acosh and atanh (v5).

Pushed with some minor adjustments (mainly cleanup of the error handling).

> Then I tried for several days to implement the 6 last hyperbolic functions,
> but I wasn't satisfied with the result, so I just dropped it.

Yeah, I agree that sech() and so on are not worth the trouble.  If they
were commonly used, they'd be in POSIX ...

			regards, tom lane


Commits

  1. Add support for hyperbolic functions, as well as log10().