diff options
author | Peter Eisentraut <peter@eisentraut.org> | 2025-01-15 08:31:46 +0100 |
---|---|---|
committer | Peter Eisentraut <peter@eisentraut.org> | 2025-01-15 08:44:01 +0100 |
commit | 6339f6468e8217f556e38482626250dc72d7cd00 (patch) | |
tree | 71a7eec03c515b4e25c8be754b8d512b1a0e7eaa /src/include/executor | |
parent | 9a45a89c38f3257b13e09edf382e32fa28b918c2 (diff) | |
download | postgresql-6339f6468e8217f556e38482626250dc72d7cd00.tar.gz postgresql-6339f6468e8217f556e38482626250dc72d7cd00.zip |
Rename RowCompareType to CompareType
RowCompareType served as a way to describe the fundamental meaning of
an operator, notionally independent of an operator class (although so
far this was only really supported for btrees). Its original purpose
was for use inside RowCompareExpr, and it has also found some small
use outside, such as for get_op_btree_interpretation().
We want to expand this now, as a more general way to describe operator
semantics for other index access methods, including gist (to improve
GistTranslateStratnum()) and others not written yet. To avoid future
confusion, we rename the type to CompareType and the symbols from
ROWCOMPARE_XXX to COMPARE_XXX to reflect their more general purpose.
Reviewed-by: Mark Dilger <mark.dilger@enterprisedb.com>
Discussion: https://www.postgresql.org/message-id/flat/E72EAA49-354D-4C2E-8EB9-255197F55330@enterprisedb.com
Diffstat (limited to 'src/include/executor')
-rw-r--r-- | src/include/executor/execExpr.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/executor/execExpr.h b/src/include/executor/execExpr.h index 8019e5490e9..1e42c131781 100644 --- a/src/include/executor/execExpr.h +++ b/src/include/executor/execExpr.h @@ -494,7 +494,7 @@ typedef struct ExprEvalStep /* for EEOP_ROWCOMPARE_FINAL */ struct { - RowCompareType rctype; + CompareType cmptype; } rowcompare_final; /* for EEOP_MINMAX */ |