Fix typo
authorPeter Eisentraut <peter@eisentraut.org>
Sat, 8 Mar 2025 07:06:30 +0000 (08:06 +0100)
committerPeter Eisentraut <peter@eisentraut.org>
Sat, 8 Mar 2025 07:06:30 +0000 (08:06 +0100)
Duplicate assignment in commit af4002b381d should have been a
different field.  (But it didn't affect the outcome.)

Reported-by: Tom Lane <tgl@sss.pgh.pa.us>
Discussion: https://www.postgresql.org/message-id/flat/E1tngY6-0000UL-2n%40gemulon.postgresql.org

src/backend/access/hash/hash.c

index 874558849a292e9d9b07de6d2a0c33e2352ec3b2..53061c819fbf0273dcd0fcada9cf0610e76238a5 100644 (file)
@@ -66,7 +66,7 @@ hashhandler(PG_FUNCTION_ARGS)
    amroutine->amcanorderbyop = false;
    amroutine->amcanhash = true;
    amroutine->amconsistentequality = true;
-   amroutine->amconsistentequality = false;
+   amroutine->amconsistentordering = false;
    amroutine->amcanbackward = true;
    amroutine->amcanunique = false;
    amroutine->amcanmulticol = false;