pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andres Freund <andres@anarazel.de>
To: pgsql-committers@postgresql.org
Subject: pgsql: Add, optional, support for 128bit integers.
Date: Fri, 20 Mar 2015 09:30:42 +0000
Message-ID: <E1YYtGM-0005Vq-ND@gemulon.postgresql.org> (raw)
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>

Add, optional, support for 128bit integers.

We will, for the foreseeable future, not expose 128 bit datatypes to
SQL. But being able to use 128bit math will allow us, in a later patch,
to use 128bit accumulators for some aggregates; leading to noticeable
speedups over using numeric.

So far we only detect a gcc/clang extension that supports 128bit math,
but no 128bit literals, and no *printf support. We might want to expand
this in the future to further compilers; if there are any that that
provide similar support.

Discussion: 544BB5F1.50709@proxel.se
Author: Andreas Karlsson, with significant editorializing by me
Reviewed-By: Peter Geoghegan, Oskari Saarenmaa

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/8122e1437e332e156d971a0274879b0ee76e488a

Modified Files
--------------
config/c-compiler.m4          |   37 +++++++++++++++++++++++++++++
configure                     |   52 +++++++++++++++++++++++++++++++++++++++++
configure.in                  |    3 +++
src/include/c.h               |   11 +++++++++
src/include/pg_config.h.in    |    3 +++
src/include/pg_config.h.win32 |    3 +++
6 files changed, 109 insertions(+)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


Message-ID: <E1YYtGM-0005Vq-ND@gemulon.postgresql.org>
Permalink:  ../E1YYtGM-0005Vq-ND@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1YYtGM-0005Vq-ND@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: andres@anarazel.de
  Subject: Re: pgsql: Add, optional, support for 128bit integers.
  In-Reply-To: <E1YYtGM-0005Vq-ND@gemulon.postgresql.org>
  References: <E1YYtGM-0005Vq-ND@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox