I've attached a simple patch which should improve the performance of

Bruce Momjian <bruce@momjian.us>

Commit: f5dff44736911b10c83d2717ca53ad90dd967758
Author: Bruce Momjian <bruce@momjian.us>
Date: 2002-02-25T04:06:52Z
Releases: 7.3.1
I've attached a simple patch which should improve the performance of
hashname() and reduce the penalty incured when NAMEDATALEN is increased.
I posted this to -hackers a couple days ago, and there haven't been any
major complaints. It passes the regression tests. See -hackers for more
discussion, as well as the suggestion from Tom Lane on which this patch
is based.

Unless anyone sees any problems, please apply for 7.3.

Cheers,

Neil Conway

Files

PathChange+/−
src/backend/access/hash/hashfunc.c modified +4 −4
src/backend/utils/cache/catcache.c modified +2 −20
src/include/access/hash.h modified +2 −2