git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: ccf2897) | patch
Fix gist_bool_ops to use gbtreekey2
Mon, 8 Nov 2021 00:14:55 +0000 (01:14 +0100)
Mon, 8 Nov 2021 00:14:55 +0000 (01:14 +0100)
commit e2fbb883720aa222f61eb9f3affad1c63bac7cbb
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
contrib/btree_gist/btree_bool.c diff | blob | blame | history
contrib/btree_gist/btree_gist--1.6--1.7.sql diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /