From 544e802910357b54861def90375060b58a78c826 Mon Sep 17 00:00:00 2001 From: "Marc G. Fournier" Date: Sat, 20 Jul 1996 08:19:13 +0000 Subject: [PATCH] Fixes: Hash indices for some data types don't work, for example for time and date. - submitted by: Massimo Dal Zotto --- src/backend/catalog/pg_amop.h | 12 +++++++++++- src/backend/catalog/pg_amproc.h | 4 +++- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/src/backend/catalog/pg_amop.h b/src/backend/catalog/pg_amop.h index e9d12127aa..f749790e24 100644 --- a/src/backend/catalog/pg_amop.h +++ b/src/backend/catalog/pg_amop.h @@ -7,7 +7,7 @@ * * Copyright (c) 1994, Regents of the University of California * - * $Id: pg_amop.h,v 1.1.1.1 1996/07/09 06:21:16 scrappy Exp $ + * $Id: pg_amop.h,v 1.2 1996/07/20 08:19:11 scrappy Exp $ * * NOTES * the genbki.sh script reads this file and generates .bki @@ -542,5 +542,15 @@ DATA(insert OID = 0 ( 405 1076 1054 1 hashsel hashnpage )); */ DATA(insert OID = 0 ( 405 1077 1062 1 hashsel hashnpage )); +/* + * hash table date_ops + */ +DATA(insert OID = 0 ( 405 1114 1093 1 hashsel hashnpage )); + +/* + * hash table time_ops + */ +DATA(insert OID = 0 ( 405 1115 1108 1 hashsel hashnpage )); + #endif /* PG_AMOP_H */ diff --git a/src/backend/catalog/pg_amproc.h b/src/backend/catalog/pg_amproc.h index cacc2b7270..8cc85793d1 100644 --- a/src/backend/catalog/pg_amproc.h +++ b/src/backend/catalog/pg_amproc.h @@ -9,7 +9,7 @@ * * Copyright (c) 1994, Regents of the University of California * - * $Id: pg_amproc.h,v 1.1.1.1 1996/07/09 06:21:16 scrappy Exp $ + * $Id: pg_amproc.h,v 1.2 1996/07/20 08:19:13 scrappy Exp $ * * NOTES * the genbki.sh script reads this file and generates .bki @@ -130,5 +130,7 @@ DATA(insert OID = 0 (405 430 499 1)); DATA(insert OID = 0 (405 431 456 1)); DATA(insert OID = 0 (405 1076 1080 1)); DATA(insert OID = 0 (405 1077 1081 1)); +DATA(insert OID = 0 (405 1114 450 1)); +DATA(insert OID = 0 (405 1115 694 1)); #endif /* PG_AMPROC_H */