Re: [HACKERS] Decimal64 and Decimal128

2018-11-12 Thread Pavel Stehule
Ășt 13. 11. 2018 v 0:55 odesĂ­latel Tom Lane napsal: > Andres Freund writes: > > On 2018-11-13 00:01:49 +0100, David Fetter wrote: > >> So if this got added to a lot of compilers, that might suffice. > > > No, unless those compiler versions will automatically be available in > > older distros.

Re: [HACKERS] Decimal64 and Decimal128

2018-11-12 Thread Tom Lane
Andres Freund writes: > On 2018-11-13 00:01:49 +0100, David Fetter wrote: >> So if this got added to a lot of compilers, that might suffice. > No, unless those compiler versions will automatically be available in > older distros. Which they won't. Yeah. I think putting this in core is a long

Re: [HACKERS] Decimal64 and Decimal128

2018-11-12 Thread Andres Freund
On 2018-11-13 00:01:49 +0100, David Fetter wrote: > On Mon, Nov 12, 2018 at 02:57:37PM -0800, Andres Freund wrote: > > Hi, > > > > On 2018-11-12 23:51:35 +0100, David Fetter wrote: > > > On Tue, Nov 13, 2018 at 11:01:33AM +1300, David Rowley wrote: > > > > On 13 November 2018 at 10:39, Thomas

Re: [HACKERS] Decimal64 and Decimal128

2018-11-12 Thread David Fetter
On Mon, Nov 12, 2018 at 02:57:37PM -0800, Andres Freund wrote: > Hi, > > On 2018-11-12 23:51:35 +0100, David Fetter wrote: > > On Tue, Nov 13, 2018 at 11:01:33AM +1300, David Rowley wrote: > > > On 13 November 2018 at 10:39, Thomas Munro > > > wrote: > > > > ... and it has just been voted into

Re: [HACKERS] Decimal64 and Decimal128

2018-11-12 Thread Andres Freund
Hi, On 2018-11-12 23:51:35 +0100, David Fetter wrote: > On Tue, Nov 13, 2018 at 11:01:33AM +1300, David Rowley wrote: > > On 13 November 2018 at 10:39, Thomas Munro > > wrote: > > > ... and it has just been voted into the next revision of the C language: > > > > > >

Re: [HACKERS] Decimal64 and Decimal128

2018-11-12 Thread David Fetter
On Tue, Nov 13, 2018 at 11:01:33AM +1300, David Rowley wrote: > On 13 November 2018 at 10:39, Thomas Munro > wrote: > > ... and it has just been voted into the next revision of the C language: > > > > https://gustedt.wordpress.com/2018/11/12/c2x/ > > Nice. Maybe we can get DECFLOAT into core

Re: [HACKERS] Decimal64 and Decimal128

2018-11-12 Thread David Rowley
On 13 November 2018 at 10:39, Thomas Munro wrote: > ... and it has just been voted into the next revision of the C language: > > https://gustedt.wordpress.com/2018/11/12/c2x/ Nice. Maybe we can get DECFLOAT into core around PostgreSQL 32 or so :-) -- David Rowley

Re: [HACKERS] Decimal64 and Decimal128

2018-11-12 Thread Thomas Munro
On Fri, Jun 16, 2017 at 9:42 AM Thomas Munro wrote: > On Fri, Sep 25, 2015 at 5:06 PM, Pavel Stehule > wrote: > > 2015-09-25 0:25 GMT+02:00 Jim Nasby : > >> On 9/24/15 3:35 PM, Peter Geoghegan wrote: > >>> > >>> I would worry about the implicit casts you've added. They might cause > >>>