Re: Postgres 11 release notes

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: David Rowley <david(dot)rowley(at)2ndquadrant(dot)com>
Cc: Bruce Momjian <bruce(at)momjian(dot)us>, Đặng Minh Hướng <kakalot49(at)gmail(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Postgres 11 release notes
Date: 2018-05-15 14:01:27
Message-ID: 18049.1526392887@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-www

David Rowley <david(dot)rowley(at)2ndquadrant(dot)com> writes:
> On 15 May 2018 at 08:28, Bruce Momjian <bruce(at)momjian(dot)us> wrote:
>> Consistently return <literal>NaN</literal> for
>> <literal>NaN</literal> inputs to <function>power()</literal>
>> on older platforms (Dang Minh Huong)

> While I'm not in favour of removing Dang's credit here, technically
> this patch was Tom's. The code added in float.c by Dang's patch
> (61b200e2f) was effectively reverted by 6bdf1303. Dang's regression
> tests remain, so should also be credited along with Tom.

I'm not particularly fussed about getting credit for that. However,
looking again at how that patch series turned out --- ie, that
we ensured POSIX behavior for NaNs only in HEAD --- I wonder
whether we shouldn't do what was mentioned in the commit log for
6bdf1303, and teach numeric_pow() about these same special cases.
It seems like it would be more consistent to change both functions
for v11, rather than letting that other shoe drop in some future
major release.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Daniel Verite 2018-05-15 14:26:09 Re: Allow COPY's 'text' format to output a header
Previous Message Craig Ringer 2018-05-15 13:58:08 Re: libpq compression

Browse pgsql-www by date

  From Date Subject
Next Message Bruce Momjian 2018-05-15 18:47:26 Re: Postgres 11 release notes
Previous Message Amit Kapila 2018-05-15 07:34:55 Re: Postgres 11 release notes