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

From: Andreas Karlsson <andreas(at)proxel(dot)se>
To: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Using 128-bit integers for sum, avg and statistics aggregates
Date: 2014-11-13 01:32:28
Message-ID: 54640A2C.6090702@proxel.se
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 11/13/2014 02:03 AM, Andreas Karlsson wrote:
> Here is version 2 of the patch which detects the presence of gcc/clang
> style 128-bit integers and has been cleaned up to a reviewable state. I
> have not added support for any other compilers since I found no
> documentation 128-bit support with icc or MSVC. I do not have access to
> any Windows machines either.
>
> A couple of things I was not sure about was the naming of the new
> functions and if I should ifdef the size of the aggregate state in the
> catalog or not.

The correct file is attached in the message.

--
Andreas Karlsson

Attachment Content-Type Size
int128-agg-v2.patch text/x-patch 33.8 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2014-11-13 02:36:41 Re: On the warpath again about ill-considered inclusion nests
Previous Message Michael Paquier 2014-11-13 01:29:00 Re: REINDEX CONCURRENTLY 2.0