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

From: Andres Freund <andres(at)anarazel(dot)de>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: simplehash: Add support for resetting a hashtable's contents.
Date: 2019-02-09 09:38:51
Message-ID: E1gsP63-0004h8-Pc@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Andres Freund 2019-02-09 09:38:56 pgsql: Allow to reset execGrouping.c style tuple hashtables.
Previous Message Tom Lane 2019-02-09 01:17:21 pgsql: First-draft release notes for 11.2.