diff options
author | Peter Eisentraut | 2025-02-02 09:26:04 +0000 |
---|---|---|
committer | Peter Eisentraut | 2025-02-02 09:26:04 +0000 |
commit | c09e5a6a01659a66dd84f3e745694999d3414ddd (patch) | |
tree | 85c7b89405656557e73360aa65216baf91f01a5b /src/tools | |
parent | 119fc30dd5bd918819b864107ddc8baac51f4d22 (diff) |
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 <[email protected]>
Reviewed-by: Peter Eisentraut <[email protected]>
Discussion: https://www.postgresql.org/message-id/flat/[email protected]
Diffstat (limited to 'src/tools')
-rw-r--r-- | src/tools/pgindent/typedefs.list | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tools/pgindent/typedefs.list b/src/tools/pgindent/typedefs.list index a2644a2e653..9a3bee93dec 100644 --- a/src/tools/pgindent/typedefs.list +++ b/src/tools/pgindent/typedefs.list @@ -3318,6 +3318,8 @@ amparallelrescan_function amproperty_function amrescan_function amrestrpos_function +amtranslate_strategy_function amtranslatestrategy; +amtranslate_cmptype_function amtranslatecmptype; amvacuumcleanup_function amvalidate_function array_iter |