simplehash: Add support for resetting a hashtable's contents.

Andres Freund <andres@anarazel.de>

Commit: 3b632a58e7985c6589dbd0e6c0f32ba007783cfa
Author: Andres Freund <andres@anarazel.de>
Date: 2019-02-09T09:05:49Z
Releases: 12.0
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

Files

PathChange+/−
src/include/lib/simplehash.h modified +11 −0

Discussion