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
Showing
- config/c-compiler.m4 37 additions, 0 deletionsconfig/c-compiler.m4
- configure 52 additions, 0 deletionsconfigure
- configure.in 3 additions, 0 deletionsconfigure.in
- src/include/c.h 11 additions, 0 deletionssrc/include/c.h
- src/include/pg_config.h.in 3 additions, 0 deletionssrc/include/pg_config.h.in
- src/include/pg_config.h.win32 3 additions, 0 deletionssrc/include/pg_config.h.win32
Loading
Please register or sign in to comment