Fix up hash functions for datetime datatypes so that they don't take
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 6 Jul 2007 04:16:00 +0000 (04:16 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 6 Jul 2007 04:16:00 +0000 (04:16 +0000)
commit7af3a6fc6f9e2486df37eeac0d61addba09a3551
tree1b21c8aa49a58a479fff5912ef125a19b38b3524
parentad9a99c24f7084d2511e84efbac3a807b14656f3
Fix up hash functions for datetime datatypes so that they don't take
unwarranted liberties with int8 vs float8 values for these types.
Specifically, be sure to apply either hashint8 or hashfloat8 depending
on HAVE_INT64_TIMESTAMP.  Per my gripe of even date.
src/backend/utils/adt/date.c
src/backend/utils/adt/timestamp.c
src/include/catalog/catversion.h
src/include/catalog/pg_amproc.h
src/include/catalog/pg_proc.h
src/include/utils/date.h
src/include/utils/timestamp.h
src/test/regress/expected/opr_sanity.out
src/test/regress/sql/opr_sanity.sql