aboutsummaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
authorPeter Eisentraut <peter@eisentraut.org>2025-03-07 10:51:53 +0100
committerPeter Eisentraut <peter@eisentraut.org>2025-03-07 11:46:33 +0100
commitaf4002b381d86df6479962953d82f03ecb4e2e06 (patch)
tree70b568724f3dff02edcb4f6d3e87fa5711d59bb5 /doc/src
parent6da469badaffec32f8a804181cca279561467378 (diff)
downloadpostgresql-af4002b381d86df6479962953d82f03ecb4e2e06.tar.gz
postgresql-af4002b381d86df6479962953d82f03ecb4e2e06.zip
Rename amcancrosscompare
After more discussion about commit ce62f2f2a0a, rename the index AM property amcancrosscompare to two separate properties amconsistentequality and amconsistentordering. Also improve the documentation and update some comments that were previously missed. Reported-by: Tom Lane <tgl@sss.pgh.pa.us> Discussion: https://www.postgresql.org/message-id/flat/E1tngY6-0000UL-2n%40gemulon.postgresql.org
Diffstat (limited to 'doc/src')
-rw-r--r--doc/src/sgml/indexam.sgml6
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/src/sgml/indexam.sgml b/doc/src/sgml/indexam.sgml
index c50ba60e21c..768b77aa0d2 100644
--- a/doc/src/sgml/indexam.sgml
+++ b/doc/src/sgml/indexam.sgml
@@ -105,8 +105,10 @@ typedef struct IndexAmRoutine
bool amcanorderbyop;
/* does AM support hashing using API consistent with the hash AM? */
bool amcanhash;
- /* does AM support cross-type comparisons? */
- bool amcancrosscompare;
+ /* do operators within an opfamily have consistent equality semantics? */
+ bool amconsistentequality;
+ /* do operators within an opfamily have consistent ordering semantics? */
+ bool amconsistentordering;
/* does AM support backward scanning? */
bool amcanbackward;
/* does AM support UNIQUE indexes? */