postgresql/contrib/cube
Tomas Vondra 6bf0bc842b Provide separate header file for built-in float types
Some data types under adt/ have separate header files, but most simple
ones do not, and their public functions are defined in builtins.h.  As
the patches improving geometric types will require making additional
functions public, this seems like a good opportunity to create a header
for floats types.

Commit 1acf757255 made _cmp functions public to solve NaN issues locally
for GiST indexes.  This patch reworks it in favour of a more widely
applicable API.  The API uses inline functions, as they are easier to
use compared to macros, and avoid double-evaluation hazards.

Author: Emre Hasegeli
Reviewed-by: Kyotaro Horiguchi

Discussion: https://www.postgresql.org/message-id/CAE2gYzxF7-5djV6-cEvqQu-fNsnt%3DEqbOURx7ZDg%2BVv6ZMTWbg%40mail.gmail.com
2018-07-29 03:30:48 +02:00
..
data Gene Selkov's CUBE datatype (GiST example code) 2000-12-11 20:39:15 +00:00
expected llow negative coordinate for ~> (cube, int) operator 2018-01-11 14:49:36 +03:00
sql llow negative coordinate for ~> (cube, int) operator 2018-01-11 14:49:36 +03:00
.gitignore Support "make check" in contrib 2011-04-25 22:27:11 +03:00
CHANGES Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00
Makefile Support index-only scans in contrib/cube and contrib/seg GiST indexes. 2017-11-20 20:25:18 -05:00
cube--1.0--1.1.sql Fix whitespace 2015-12-19 11:46:38 -05:00
cube--1.1--1.2.sql Update extensions with GIN/GIST support for parallel query. 2016-06-14 13:34:37 -04:00
cube--1.2--1.3.sql Distinguish selectivity of < from <= and > from >=. 2017-09-13 11:12:39 -04:00
cube--1.2.sql Update extensions with GIN/GIST support for parallel query. 2016-06-14 13:34:37 -04:00
cube--1.3--1.4.sql Support index-only scans in contrib/cube and contrib/seg GiST indexes. 2017-11-20 20:25:18 -05:00
cube--unpackaged--1.0.sql Fix typos in some error messages thrown by extension scripts when fed to psql. 2014-08-25 18:30:37 +02:00
cube.c Provide separate header file for built-in float types 2018-07-29 03:30:48 +02:00
cube.control Support index-only scans in contrib/cube and contrib/seg GiST indexes. 2017-11-20 20:25:18 -05:00
cubedata.h Make DatumGetFoo/PG_GETARG_FOO/PG_RETURN_FOO macro names more consistent. 2017-09-18 15:21:23 -04:00
cubeparse.y Provide separate header file for built-in float types 2018-07-29 03:30:48 +02:00
cubescan.l Exclude flex-generated code from coverage testing 2017-10-16 16:28:11 -04:00