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

From: Andreas Karlsson <andreas(at)proxel(dot)se>
To: Petr Jelinek <petr(at)2ndquadrant(dot)com>, David Rowley <dgrowleyml(at)gmail(dot)com>, Robert Haas <robertmhaas(at)gmail(dot)com>
Cc: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>, Andres Freund <andres(at)2ndquadrant(dot)com>
Subject: Re: Using 128-bit integers for sum, avg and statistics aggregates
Date: 2015-01-27 07:21:57
Message-ID: 54C73C95.8080600@proxel.se
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 01/23/2015 02:58 AM, Petr Jelinek wrote:
> On 23/01/15 00:40, Andreas Karlsson wrote:
>> - Renamed some things from int12 to int128, there are still some places
>> with int16 which I am not sure what to do with.
>
> I'd vote for renaming them to int128 too, there is enough C functions
> that user int16 for 16bit integer that this is going to be confusing
> otherwise.

Do you also think the SQL functions should be named numeric_int128_sum,
numeric_int128_avg, etc?

--
Andreas Karlsson

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paquier 2015-01-27 07:23:53 Re: Hot Standby WAL reply uses heavyweight session locks, but doesn't have enough infrastructure set up
Previous Message Haribabu Kommi 2015-01-27 07:04:48 Re: Providing catalog view to pg_hba.conf file - Patch submission