Doc: clarify a critical and undocumented aspect of simplehash.h.
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 21 Oct 2021 21:08:53 +0000 (17:08 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 21 Oct 2021 21:08:53 +0000 (17:08 -0400)
commitb1ce6c284366ce1dae120f5d10dd59e8804322ee
treeb6786d31417dcf765648f014e70220cda499d1c7
parent0c04342b1d3dd5b24f795f94874163be8e21710e
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.
src/include/lib/simplehash.h