pgsql: Doc: clarify a critical and undocumented aspect of simplehash.h.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Doc: clarify a critical and undocumented aspect of simplehash.h.
Date: 2021-10-21 21:09:17
Message-ID: E1mdfJN-0003Qh-I0@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Doc: clarify a critical and undocumented aspect of simplehash.h.

I just got burnt by trying to use pg_malloc instead of pg_malloc0
with this. Save the next hacker some time by not leaving this
API detail undocumented.

Branch
------
master

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

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

Browse pgsql-committers by date

  From Date Subject
Next Message Andrew Dunstan 2021-10-22 13:50:58 pgsql: Add module build directory to the PATH for TAP tests
Previous Message Andrew Dunstan 2021-10-21 20:55:10 Re: pgsql: Reference test binary using TESTDIR in 001_libpq_pipeline.pl.