pgsql: Add missing #undef in simplehash.h.

From: Nathan Bossart <nathan(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Add missing #undef in simplehash.h.
Date: 2026-11-23 20:09:49
Message-ID: E1xVaMG-000000003nw-3ZWo@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Add missing #undef in simplehash.h.

simplehash.h undefines its parameter macros at the end of the file
so that another hash table can be defined, but SH_RAW_ALLOCATOR was
missed. Since this seems more likely to break third-party code
than to fix anything on the back-branches, no back-patch.

Oversight in commit 48995040d5.

Author: Chao Li <li(dot)evan(dot)chao(at)gmail(dot)com>
Discussion: https://postgr.es/m/6658AC8F-3AC7-4D93-811B-92F6853D3B72%40gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/1c4628d0b3c5d38b7a965f686aa69fe579038b3d

Modified Files
--------------
src/include/lib/simplehash.h | 1 +
1 file changed, 1 insertion(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2026-11-23 22:54:17 pgsql: Fix overflow problems in btree_gist's penalty and distance funct
Previous Message Dean Rasheed 2026-11-23 19:22:42 pgsql: Record dependencies on the target columns of MERGE actions.