OSDN Git Service

Improve hash_array() logic for combining hash values.
authorRobert Haas <rhaas@postgresql.org>
Mon, 23 May 2011 19:17:18 +0000 (15:17 -0400)
committerRobert Haas <rhaas@postgresql.org>
Mon, 23 May 2011 19:17:18 +0000 (15:17 -0400)
commit7149b128dc12ece64c182962dc4f882ea7559d0c
treedbe68fac36d6d610886a29d4947ce0b31d413550
parentc58b945e23e63a0baca67b216a5225b34de84cce
Improve hash_array() logic for combining hash values.

The new logic is less vulnerable to transpositions.

This invalidates the contents of hash indexes built with the old
functions; hence, bump catversion.

Dean Rasheed
src/backend/utils/adt/arrayfuncs.c
src/include/catalog/catversion.h