From: | tgl(at)svr1(dot)postgresql(dot)org (Tom Lane) |
---|---|
To: | pgsql-committers(at)postgresql(dot)org |
Subject: | pgsql: Tweak dynahash.c to not allocate so many entries at once when |
Date: | 2005-06-26 23:32:34 |
Message-ID: | 20050626233234.D5CB752823@svr1.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
Log Message:
-----------
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 ...
Modified Files:
--------------
pgsql/src/backend/utils/hash:
dynahash.c (r1.62 -> r1.63)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/hash/dynahash.c.diff?r1=1.62&r2=1.63)
pgsql/src/include/utils:
hsearch.h (r1.38 -> r1.39)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/include/utils/hsearch.h.diff?r1=1.38&r2=1.39)
pgsql/src/timezone:
pgtz.c (r1.35 -> r1.36)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/timezone/pgtz.c.diff?r1=1.35&r2=1.36)
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2005-06-27 00:48:08 | pgsql: Adjust contrib/seg &< and &> operators so that r-tree indexing |
Previous Message | Tom Lane | 2005-06-26 22:05:43 | pgsql: Add Oracle-compatible GREATEST and LEAST functions. |