Re: Re: sampling.c and potential divisions by 0 ang log(0) with tablesample and ANALYZE in 9.5 - Mailing list pgsql-bugs

From Michael Paquier
Subject Re: Re: sampling.c and potential divisions by 0 ang log(0) with tablesample and ANALYZE in 9.5
Date
Msg-id CAB7nPqQH1poK9=ds__WCC8J4Z_V-_6=6eMgNZZbkDB88yK+X1Q@mail.gmail.com
Whole thread Raw
In response to Re: Re: sampling.c and potential divisions by 0 ang log(0) with tablesample and ANALYZE in 9.5  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Re: sampling.c and potential divisions by 0 ang log(0) with tablesample and ANALYZE in 9.5  (Petr Jelinek <petr@2ndquadrant.com>)
List pgsql-bugs
On Wed, Jul 1, 2015 at 3:52 AM, Tom Lane wrote:
> Rather than expanding the API of port.h still further
> [...]

The current trend, as far as I am understanding it, is not to increase
the amount of code in src/port, but actually to reduce it and to rely
a maximum on what modern platforms offer. See for example the recent
discussion about rint and numeric rounding here:

http://www.postgresql.org/message-id/flat/20150320194337.2573.72944@wrigleys.postgresql.org#20150320194337.2573.72944@wrigleys.postgresql.org
We are keeping rint around because MSVC just added it recently in
MS2013 even if the POSIX spec has it for a long time, but I am sure
that we would drop it asap from the code tree if we could.
--
Michael

pgsql-bugs by date:

Previous
From: Michael Paquier
Date:
Subject: Re: Re: sampling.c and potential divisions by 0 ang log(0) with tablesample and ANALYZE in 9.5
Next
From: Petr Jelinek
Date:
Subject: Re: Re: sampling.c and potential divisions by 0 ang log(0) with tablesample and ANALYZE in 9.5