aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gin/ginutil.c
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 /src/backend/access/gin/ginutil.c
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 'src/backend/access/gin/ginutil.c')
-rw-r--r--src/backend/access/gin/ginutil.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/backend/access/gin/ginutil.c b/src/backend/access/gin/ginutil.c
index 0b67108bc34..78f7b7a2495 100644
--- a/src/backend/access/gin/ginutil.c
+++ b/src/backend/access/gin/ginutil.c
@@ -45,7 +45,8 @@ ginhandler(PG_FUNCTION_ARGS)
amroutine->amcanorder = false;
amroutine->amcanorderbyop = false;
amroutine->amcanhash = false;
- amroutine->amcancrosscompare = false;
+ amroutine->amconsistentequality = false;
+ amroutine->amconsistentordering = false;
amroutine->amcanbackward = false;
amroutine->amcanunique = false;
amroutine->amcanmulticol = true;