]> granicus.if.org Git - postgresql/commit
simplehash: Add support for resetting a hashtable's contents.
authorAndres Freund <andres@anarazel.de>
Sat, 9 Feb 2019 08:35:57 +0000 (00:35 -0800)
committerAndres Freund <andres@anarazel.de>
Sat, 9 Feb 2019 09:05:49 +0000 (01:05 -0800)
commit3b632a58e7985c6589dbd0e6c0f32ba007783cfa
tree9f96c6baf54ad4eb853089915d8c8759fd39f4d8
parent5567d12ce030781a4f749c9cd2034b95a3b64424
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
src/include/lib/simplehash.h