postgresql/contrib/btree_gist
Tomas Vondra e2fbb88372 Fix gist_bool_ops to use gbtreekey2
Commit 57e3c5160b added a new GiST bool opclass, but it used gbtreekey4
to store the data, which left two bytes undefined, as reported by skink,
our valgrind animal. There was a bit more confusion, because the opclass
also used gbtreekey8 in the definition.

Fix by defining a new gbtreekey2 struct, and using it in all the places.

Discussion: https://postgr.es/m/CAE2gYzyDKJBZngssR84VGZEN=Ux=V9FV23QfPgo+7-yYnKKg4g@mail.gmail.com
2021-11-08 01:14:55 +01:00
..
data Add btree_gist support for enum types. 2017-03-21 10:43:27 -04:00
expected Add bool GiST opclass to btree_gist 2021-11-06 17:00:43 +01:00
sql Add bool GiST opclass to btree_gist 2021-11-06 17:00:43 +01:00
.gitignore
btree_bit.c Revert "Add sortsupport for gist_btree opclasses, for faster index builds." 2021-04-07 14:33:21 +03:00
btree_bool.c Fix gist_bool_ops to use gbtreekey2 2021-11-08 01:14:55 +01:00
btree_bytea.c Revert "Add sortsupport for gist_btree opclasses, for faster index builds." 2021-04-07 14:33:21 +03:00
btree_cash.c Revert "Add sortsupport for gist_btree opclasses, for faster index builds." 2021-04-07 14:33:21 +03:00
btree_date.c Revert "Add sortsupport for gist_btree opclasses, for faster index builds." 2021-04-07 14:33:21 +03:00
btree_enum.c Revert "Add sortsupport for gist_btree opclasses, for faster index builds." 2021-04-07 14:33:21 +03:00
btree_float4.c Improve performance of float overflow checks in btree_gist 2021-08-19 10:42:44 +09:00
btree_float8.c Improve performance of float overflow checks in btree_gist 2021-08-19 10:42:44 +09:00
btree_gist--1.0--1.1.sql
btree_gist--1.1--1.2.sql Make contrib modules' installation scripts more secure. 2020-08-10 10:44:42 -04:00
btree_gist--1.2--1.3.sql Add uuid to the set of types supported by contrib/btree_gist. 2016-11-29 14:08:34 -05:00
btree_gist--1.2.sql Handle contrib's GIN/GIST support function signature changes honestly. 2016-06-09 16:44:25 -04:00
btree_gist--1.3--1.4.sql Add support for EUI-64 MAC addresses as macaddr8 2017-03-15 11:16:25 -04:00
btree_gist--1.4--1.5.sql Add btree_gist support for enum types. 2017-03-21 10:43:27 -04:00
btree_gist--1.5--1.6.sql Update btree_gist extension for parallel query 2020-07-20 13:59:50 +03:00
btree_gist--1.6--1.7.sql Fix gist_bool_ops to use gbtreekey2 2021-11-08 01:14:55 +01:00
btree_gist.c
btree_gist.control Add bool GiST opclass to btree_gist 2021-11-06 17:00:43 +01:00
btree_gist.h Add bool GiST opclass to btree_gist 2021-11-06 17:00:43 +01:00
btree_inet.c Revert "Add sortsupport for gist_btree opclasses, for faster index builds." 2021-04-07 14:33:21 +03:00
btree_int2.c Revert "Add sortsupport for gist_btree opclasses, for faster index builds." 2021-04-07 14:33:21 +03:00
btree_int4.c Revert "Add sortsupport for gist_btree opclasses, for faster index builds." 2021-04-07 14:33:21 +03:00
btree_int8.c Revert "Add sortsupport for gist_btree opclasses, for faster index builds." 2021-04-07 14:33:21 +03:00
btree_interval.c Revert "Add sortsupport for gist_btree opclasses, for faster index builds." 2021-04-07 14:33:21 +03:00
btree_macaddr8.c Revert "Add sortsupport for gist_btree opclasses, for faster index builds." 2021-04-07 14:33:21 +03:00
btree_macaddr.c Revert "Add sortsupport for gist_btree opclasses, for faster index builds." 2021-04-07 14:33:21 +03:00
btree_numeric.c Revert "Add sortsupport for gist_btree opclasses, for faster index builds." 2021-04-07 14:33:21 +03:00
btree_oid.c Revert "Add sortsupport for gist_btree opclasses, for faster index builds." 2021-04-07 14:33:21 +03:00
btree_text.c Revert "Add sortsupport for gist_btree opclasses, for faster index builds." 2021-04-07 14:33:21 +03:00
btree_time.c Revert "Add sortsupport for gist_btree opclasses, for faster index builds." 2021-04-07 14:33:21 +03:00
btree_ts.c Revert "Add sortsupport for gist_btree opclasses, for faster index builds." 2021-04-07 14:33:21 +03:00
btree_utils_num.c Add bool GiST opclass to btree_gist 2021-11-06 17:00:43 +01:00
btree_utils_num.h Improve performance of float overflow checks in btree_gist 2021-08-19 10:42:44 +09:00
btree_utils_var.c Clean up newlines following left parentheses 2020-01-30 13:42:14 -03:00
btree_utils_var.h Make the order of the header file includes consistent. 2019-11-25 08:08:57 +05:30
btree_uuid.c Revert "Add sortsupport for gist_btree opclasses, for faster index builds." 2021-04-07 14:33:21 +03:00
Makefile Add bool GiST opclass to btree_gist 2021-11-06 17:00:43 +01:00