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)
commitaae44712badcb668e275bb23e842ab85040de1e3
tree7c44a33e31f7be40d77320bfaea292124669f94e
parentcbe3001925b5076d4abca8220ee2b282946b69f4
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