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 E1gsP68-0004hs-Mr@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
------
REL_11_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/350b0a40375e5fa171da15bd3062de83c54cd099

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


pgsql-committers by date:

Previous
From: Andres Freund
Date:
Subject: pgsql: simplehash: Add support for resetting a hashtable's contents.
Next
From: Andres Freund
Date:
Subject: pgsql: For 11 only,put back heap_expand_tuple to GetTupleForTrigger().