postgres/contrib/intarray
Peter Eisentraut c8b2ef05f4 Convert *GetDatum() and DatumGet*() macros to inline functions
The previous macro implementations just cast the argument to a target
type but did not check whether the input type was appropriate.  The
function implementation can do better type checking of the input type.

For the *GetDatumFast() macros, converting to an inline function
doesn't work in the !USE_FLOAT8_BYVAL case, but we can use
AssertVariableIsOfTypeMacro() to get a similar level of type checking.

Reviewed-by: Aleksander Alekseev <aleksander@timescale.com>
Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us>
Discussion: https://www.postgresql.org/message-id/flat/8528fb7e-0aa2-6b54-85fb-0c0886dbd6ed%40enterprisedb.com
2022-09-27 20:50:21 +02:00
..
bench Update copyright for 2022 2022-01-07 19:04:57 -05:00
data
expected Implement operator class parameters 2020-03-30 19:17:23 +03:00
sql Implement operator class parameters 2020-03-30 19:17:23 +03:00
.gitignore Support "make check" in contrib 2011-04-25 22:27:11 +03:00
Makefile Remove deprecated containment operators for contrib types. 2021-03-05 10:45:41 -05:00
_int.h Harmonize parameter names in contrib code. 2022-09-22 13:59:20 -07:00
_int_bool.c Remove extraneous blank lines before block-closing braces 2022-04-13 19:16:02 +02:00
_int_gin.c Make the order of the header file includes consistent in contrib modules. 2019-10-24 08:05:34 +05:30
_int_gist.c Convert *GetDatum() and DatumGet*() macros to inline functions 2022-09-27 20:50:21 +02:00
_int_op.c Clean up newlines following left parentheses 2020-01-30 13:42:14 -03:00
_int_selfuncs.c Harmonize parameter names in contrib code. 2022-09-22 13:59:20 -07:00
_int_tool.c Harmonize parameter names in contrib code. 2022-09-22 13:59:20 -07:00
_intbig_gist.c Change some unnecessary MemSet calls 2022-07-01 00:16:38 +02:00
intarray--1.0--1.1.sql Add selectivity estimation functions for intarray operators. 2015-07-21 20:59:24 +03:00
intarray--1.1--1.2.sql Make contrib modules' installation scripts more secure. 2020-08-10 10:44:42 -04:00
intarray--1.2--1.3.sql Implement operator class parameters 2020-03-30 19:17:23 +03:00
intarray--1.2.sql Update extensions with GIN/GIST support for parallel query. 2016-06-14 13:34:37 -04:00
intarray--1.3--1.4.sql Remove <@ from contrib/intarray's GiST operator classes. 2020-08-08 17:26:29 -04:00
intarray--1.4--1.5.sql Remove deprecated containment operators for contrib types. 2021-03-05 10:45:41 -05:00
intarray.control Remove deprecated containment operators for contrib types. 2021-03-05 10:45:41 -05:00
meson.build meson: Add initial version of meson based build system 2022-09-21 22:37:17 -07:00