postgresql/src
Tom Lane 1c2d408c01 Rewrite interval_hash() so that the hashcodes are equal for values that
interval_eq() considers equal.  I'm not sure how that fundamental requirement
escaped us through multiple revisions of this hash function, but there it is;
it's been wrong since interval_hash was first written for PG 7.1.
Per bug #4748 from Roman Kononov.

Backpatch to all supported releases.

This patch changes the contents of hash indexes for interval columns.  That's
no particular problem for PG 8.4, since we've broken on-disk compatibility
of hash indexes already; but it will require a migration warning note in
the next minor releases of all existing branches: "if you have any hash
indexes on columns of type interval, REINDEX them after updating".
2009-04-04 04:53:25 +00:00
..
backend Rewrite interval_hash() so that the hashcodes are equal for values that 2009-04-04 04:53:25 +00:00
bin Improve obsolete comment. 2009-04-04 00:44:30 +00:00
include Disallow setting fillfactor for TOAST tables. 2009-04-04 00:45:02 +00:00
interfaces Add PQinitOpenSSL() function to support applications that use libcrypto 2009-03-31 01:41:27 +00:00
makefiles Allow out-of-tree builds on mingw and cygwin 2009-01-05 09:27:20 +00:00
pl Defend against possible crash if a plpython function does not specify names 2009-04-03 16:59:43 +00:00
port Use (unsigned char) cast in argument of pg_tolower(). Maybe it works on 2009-04-03 23:27:17 +00:00
template Tweak configure to attempt to add -qnoansialias to CFLAGS whenever running 2009-02-11 20:02:40 +00:00
test Rewrite interval_hash() so that the hashcodes are equal for values that 2009-04-04 04:53:25 +00:00
timezone Add MUST (Mauritius Island Summer Time) to the list of known abbreviations. 2009-03-05 14:27:50 +00:00
tools Fix MSVC build for new ways to pull in keywords.c and kwlookup.c. 2009-03-08 19:13:38 +00:00
tutorial Update copyright for 2009. 2009-01-01 17:24:05 +00:00
DEVELOPERS Testing commit stuff 2006-07-10 15:50:02 +00:00
Makefile Add the possibility to specify an explicit validator function for foreign-data 2009-02-24 10:06:36 +00:00
Makefile.global.in Add an implicit rule %.c -> %.i for running the C preprocessor. 2009-02-19 10:32:30 +00:00
Makefile.shlib Allow out-of-tree builds on mingw and cygwin 2009-01-05 09:27:20 +00:00
bcc32.mak Remove old-style win32 client-only visual c++ build infrastructure for everything except 2007-03-05 14:18:38 +00:00
nls-global.mk Do not msgmerge against /dev/null; merge against the pot file itself 2009-01-20 09:58:50 +00:00
win32.mak Update supported standalone VC++ version to 7.1+ only, and fix 2007-08-03 10:47:11 +00:00