From af4002b381d86df6479962953d82f03ecb4e2e06 Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Fri, 7 Mar 2025 10:51:53 +0100 Subject: 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 Discussion: https://www.postgresql.org/message-id/flat/E1tngY6-0000UL-2n%40gemulon.postgresql.org --- src/backend/access/spgist/spgutils.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/backend/access/spgist/spgutils.c') diff --git a/src/backend/access/spgist/spgutils.c b/src/backend/access/spgist/spgutils.c index 7e56b1e6b95..95fea74e296 100644 --- a/src/backend/access/spgist/spgutils.c +++ b/src/backend/access/spgist/spgutils.c @@ -51,7 +51,8 @@ spghandler(PG_FUNCTION_ARGS) amroutine->amcanorder = false; amroutine->amcanorderbyop = true; amroutine->amcanhash = false; - amroutine->amcancrosscompare = false; + amroutine->amconsistentequality = false; + amroutine->amconsistentordering = false; amroutine->amcanbackward = false; amroutine->amcanunique = false; amroutine->amcanmulticol = false; -- cgit v1.2.3