summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Eisentraut2025-03-01 08:15:27 +0000
committerPeter Eisentraut2025-03-01 08:15:27 +0000
commit56ba0463d38c17400a090353db47cf455ce01c3d (patch)
tree35bc3667cdc9a50450468ae22f3b1eeffce818c8
parentc301a0a74a8aa9ec4fe1f364e05aa17a649f7260 (diff)
Set amcancrosscompare to true for hash
This was missed in the refactoring in patch ce62f2f2a0a, which thus created a regression. Reported-by: Tom Lane <[email protected]> Reviewed-by: Mark Dilger <[email protected]> Discussion: https://www.postgresql.org/message-id/flat/E1tngY6-0000UL-2n%40gemulon.postgresql.org
-rw-r--r--src/backend/access/hash/hash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/access/hash/hash.c b/src/backend/access/hash/hash.c
index a22845d7068..4c83b09edde 100644
--- a/src/backend/access/hash/hash.c
+++ b/src/backend/access/hash/hash.c
@@ -65,7 +65,7 @@ hashhandler(PG_FUNCTION_ARGS)
amroutine->amcanorder = false;
amroutine->amcanorderbyop = false;
amroutine->amcanhash = true;
- amroutine->amcancrosscompare = false;
+ amroutine->amcancrosscompare = true;
amroutine->amcanbackward = true;
amroutine->amcanunique = false;
amroutine->amcanmulticol = false;