postgresql/src/include/lib
Alexander Korotkov e57519a463 Add missing inequality searches to rbtree
PostgreSQL contains the implementation of the red-black tree.  The red-black
tree is the ordered data structure, and one of its advantages is the ability
to do inequality searches.  This commit adds rbt_find_less() and
rbt_find_great() functions implementing these searches.  While these searches
aren't yet used in the core code, they might be useful for extensions.

Discussion: https://postgr.es/m/CAGRrpzYE8-7GCoaPjOiL9T_HY605MRax-2jgTtLq236uksZ1Sw%40mail.gmail.com
Author: Steve Chavez, Alexander Korotkov
Reviewed-by: Alexander Korotkov
2022-07-08 22:00:03 +03:00
..
binaryheap.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
bipartite_match.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
bloomfilter.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
dshash.h dshash: revise sequential scan support. 2022-04-04 14:32:52 -07:00
hyperloglog.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
ilist.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
integerset.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
knapsack.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
pairingheap.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
qunique.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
rbtree.h Add missing inequality searches to rbtree 2022-07-08 22:00:03 +03:00
simplehash.h Improve frontend error logging style. 2022-04-08 14:55:14 -04:00
sort_template.h Fix missing undefine in sort_template.h 2022-01-31 15:10:01 -05:00
stringinfo.h Update copyright for 2022 2022-01-07 19:04:57 -05:00