]> git.ipfire.org Git - thirdparty/postgresql.git/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:50 +0000 (01:05 -0800)
commit350b0a40375e5fa171da15bd3062de83c54cd099
tree6629f89db8f1dcd6c6c62f3927e76054fc94cd9b
parent9cf37a527cf83e94f8f166d380baf53287a0337b
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