Revise the way the element allocator for a simplehash is specified.

Robert Haas <rhaas@postgresql.org>

Commit: c3c4f6e1740be256178cd7551d5b8a7677159b74
Author: Robert Haas <rhaas@postgresql.org>
Date: 2017-02-07T22:10:08Z
Releases: 10.0
Revise the way the element allocator for a simplehash is specified.

This method is more elegant and more efficient.

Per a suggestion from Andres Freund, who also briefly reviewed
the patch.

Files

PathChange+/−
src/backend/executor/execGrouping.c modified +1 −2
src/backend/nodes/tidbitmap.c modified +1 −1
src/include/lib/simplehash.h modified +22 −43