From: Heikki Linnakangas <heikki.linnakangas@iki.fi>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Remove HASH_SEGMENT option
Date: Tue, 31 Mar 2026 14:17:53 +0000
Message-ID: <E1w7Zui-002Ju2-2A@gemulon.postgresql.org> (raw)
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@vondra.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(-)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-committers@postgresql.org
Cc: heikki.linnakangas@iki.fi, pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Remove HASH_SEGMENT option
In-Reply-To: <E1w7Zui-002Ju2-2A@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox