Re: Using 128-bit integers for sum, avg and statistics aggregates

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Andreas Karlsson <andreas(at)proxel(dot)se>
Cc: Andres Freund <andres(at)anarazel(dot)de>, David Rowley <dgrowleyml(at)gmail(dot)com>, Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Using 128-bit integers for sum, avg and statistics aggregates
Date: 2015-01-11 16:14:24
Message-ID: 14248.1420992864@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Andreas Karlsson <andreas(at)proxel(dot)se> writes:
> On 01/11/2015 02:36 AM, Andres Freund wrote:
>> b) I'm doubtful that AC_CHECK_TYPES is a sufficiently good test on all
>> platforms.

> Should I fix it to actually compile some code which uses the 128-bit types?

We used to have code in configure to test that int64 works. Please copy
that (at least as much as necessary; perhaps we don't need to check for
sprintf support).

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2015-01-11 17:54:32 Re: libpq 9.4 requires /etc/passwd?
Previous Message Stefan Kaltenbrunner 2015-01-11 15:47:18 Re: Parallel Seq Scan