Tweak dynahash.c to not allocate so many entries at once when dealing

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 06ae88a82e7fea5a1c3f8083581f1dd9d75fafc4
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2005-06-26T23:32:34Z
Releases: 8.1.0
Tweak dynahash.c to not allocate so many entries at once when dealing
with a table that has a small predicted size.  Avoids wasting several
hundred K on the timezone hash table, which is likely to have only one
or a few entries, but the entries use up 10Kb apiece ...

Files

PathChange+/−
src/backend/utils/hash/dynahash.c modified +16 −8
src/include/utils/hsearch.h modified +4 −3
src/timezone/pgtz.c modified +2 −2