pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Nathan Bossart <nathan@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Add missing #undef in simplehash.h.
Date: Mon, 23 Nov 2026 20:09:49 +0000
Message-ID: <E1xVaMG-000000003nw-3ZWo@gemulon.postgresql.org> (raw)

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.evan.chao@gmail.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(+)



Message-ID: <E1xVaMG-000000003nw-3ZWo@gemulon.postgresql.org>
Permalink:  ../E1xVaMG-000000003nw-3ZWo@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1xVaMG-000000003nw-3ZWo@gemulon.postgresql.org

 · 

reply

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: nathan@postgresql.org
  Subject: Re: pgsql: Add missing #undef in simplehash.h.
  In-Reply-To: <E1xVaMG-000000003nw-3ZWo@gemulon.postgresql.org>
  References: <E1xVaMG-000000003nw-3ZWo@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