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

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 119fc30) | patch
Convert strategies to and from compare types
Sun, 2 Feb 2025 09:26:04 +0000 (10:26 +0100)
Sun, 2 Feb 2025 09:26:04 +0000 (10:26 +0100)
commit c09e5a6a01659a66dd84f3e745694999d3414ddd
Convert strategies to and from compare types

For each Index AM, provide a mapping between operator strategies and
the system-wide generic concept of a comparison type. For example,
for btree, BTLessStrategyNumber maps to and from COMPARE_LT. Numerous
places in the planner and executor think directly in terms of btree
strategy numbers (and a few in terms of hash strategy numbers.) These
should be converted over subsequent commits to think in terms of
CompareType instead. (This commit doesn't make any use of this API
yet.)

Author: Mark Dilger <mark.dilger@enterprisedb.com>
Reviewed-by: Peter Eisentraut <peter@eisentraut.org>
Discussion: https://www.postgresql.org/message-id/flat/E72EAA49-354D-4C2E-8EB9-255197F55330@enterprisedb.com
13 files changed:
contrib/bloom/blutils.c diff | blob | blame | history
doc/src/sgml/indexam.sgml diff | blob | blame | history
src/backend/access/brin/brin.c diff | blob | blame | history
src/backend/access/gist/gist.c diff | blob | blame | history
src/backend/access/hash/hash.c diff | blob | blame | history
src/backend/access/index/amapi.c diff | blob | blame | history
src/backend/access/nbtree/nbtree.c diff | blob | blame | history
src/backend/access/spgist/spgutils.c diff | blob | blame | history
src/include/access/amapi.h diff | blob | blame | history
src/include/access/cmptype.h diff | blob | blame | history
src/include/access/hash.h diff | blob | blame | history
src/include/access/nbtree.h diff | blob | blame | history
src/tools/pgindent/typedefs.list diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

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