I've attached a simple patch which should improve the performance of
authorBruce Momjian <bruce@momjian.us>
Mon, 25 Feb 2002 04:06:52 +0000 (04:06 +0000)
committerBruce Momjian <bruce@momjian.us>
Mon, 25 Feb 2002 04:06:52 +0000 (04:06 +0000)
commitaea72e3cab84a0a6cd453a92d81ba7d477cae701
treef4f969c2c88476fafcc27b34674bc3d3f04fa22f
parent9484360d51c223442ede14341fac992d94b35988
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
src/backend/access/hash/hashfunc.c
src/backend/utils/cache/catcache.c
src/include/access/hash.h