diff options
author | Andres Freund <andres@anarazel.de> | 2015-03-20 10:26:17 +0100 |
---|---|---|
committer | Andres Freund <andres@anarazel.de> | 2015-03-20 10:26:17 +0100 |
commit | 8122e1437e332e156d971a0274879b0ee76e488a (patch) | |
tree | 4049661023618ba959e645969698c7829ce19ed1 /src/backend/utils/adt/numeric.c | |
parent | 7e9ed623d9988fcb1497a2a8ca7f676a5bfa136f (diff) | |
download | postgresql-8122e1437e332e156d971a0274879b0ee76e488a.tar.gz postgresql-8122e1437e332e156d971a0274879b0ee76e488a.zip |
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
Diffstat (limited to 'src/backend/utils/adt/numeric.c')
0 files changed, 0 insertions, 0 deletions