aboutsummaryrefslogtreecommitdiff
path: root/contrib/jsonb_plpython/jsonb_plpython2u.control
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2019-03-12 15:55:09 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2019-03-12 15:55:09 -0400
commitf1d85aa98ee71d9662309f6f0384b2f7f8f16f02 (patch)
tree16a5d8f1d531851888dc219653f5da97d894b812 /contrib/jsonb_plpython/jsonb_plpython2u.control
parent3aa0395d4ed36f040f20da304c122b956529dd14 (diff)
downloadpostgresql-f1d85aa98ee71d9662309f6f0384b2f7f8f16f02.tar.gz
postgresql-f1d85aa98ee71d9662309f6f0384b2f7f8f16f02.zip
Add support for hyperbolic functions, as well as log10().
The SQL:2016 standard adds support for the hyperbolic functions sinh(), cosh(), and tanh(). POSIX has long required libm to provide those functions as well as their inverses asinh(), acosh(), atanh(). Hence, let's just expose the libm functions to the SQL level. As with the trig functions, we only implement versions for float8, not numeric. For the moment, we'll assume that all platforms actually do have these functions; if experience teaches otherwise, some autoconf effort may be needed. SQL:2016 also adds support for base-10 logarithm, but with the function name log10(), whereas the name we've long used is log(). Add aliases named log10() for the float8 and numeric versions. Lætitia Avrot Discussion: https://postgr.es/m/CAB_COdguG22LO=rnxDQ2DW1uzv8aQoUzyDQNJjrR4k00XSgm5w@mail.gmail.com
Diffstat (limited to 'contrib/jsonb_plpython/jsonb_plpython2u.control')
0 files changed, 0 insertions, 0 deletions