pgsql: Remove HASH_SEGMENT option

From: Heikki Linnakangas <heikki(dot)linnakangas(at)iki(dot)fi>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Remove HASH_SEGMENT option
Date: 2026-03-31 14:17:53
Message-ID: E1w7Zui-002Ju2-2A@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Remove HASH_SEGMENT option

It's been unused forever. There's no urgency in removing it now, but
it was just something that caught my eye.

Aleksander Alekseev proposed this a long time ago [0], but Tom Lane
was worried about third-party extensions using it. I believe that's a
non-issue: I tried grepping through all extensions found on github and
didn't find any references to HASH_SEGMENT.

[0] https://www.postgresql.org/message-id/20160418180711.55ac82c0@fujitsu

Reviewed-by: Tomas Vondra <tomas(at)vondra(dot)me>
Discussion: https://www.postgresql.org/message-id/01ab1d41-3eda-4705-8bbd-af898f5007f1@iki.fi

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/dde69621c3248c1c6e623a4f5baa182783ead681

Modified Files
--------------
src/backend/utils/hash/dynahash.c | 65 +++++++++++++--------------------------
src/include/utils/hsearch.h | 4 +--
2 files changed, 23 insertions(+), 46 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2026-03-31 15:23:36 pgsql: Doc: improve explanation of GiST compress/decompress methods.
Previous Message Christoph Berg 2026-03-31 13:14:01 Re: pgsql: test_aio: Add basic tests for StartReadBuffers()