pgsql: simplehash: Add support for resetting a hashtable's contents. - Mailing list pgsql-committers

From Andres Freund
Subject pgsql: simplehash: Add support for resetting a hashtable's contents.
Date
Msg-id E1gsP63-0004h8-Pc@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
simplehash: Add support for resetting a hashtable's contents.

A hashtable reset just reset the hashtable entries, but does not free
memory.

Author: Andres Freund
Discussion: https://postgr.es/m/20190114180423.ywhdg2iagzvh43we@alap3.anarazel.de
Bug: #15592 #15486
Backpatch: 11, this is a prerequisite for other fixes

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/3b632a58e7985c6589dbd0e6c0f32ba007783cfa

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


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: First-draft release notes for 11.2.
Next
From: Andres Freund
Date:
Subject: pgsql: Plug leak in BuildTupleHashTable by creating ExprContext incorr