Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 544e802

Browse files
committed
Fixes:
Hash indices for some data types don't work, for example for time and date. - submitted by: Massimo Dal Zotto <dz@cs.unitn.it>
1 parent 94215d5 commit 544e802

File tree

2 files changed

+14
-2
lines changed

2 files changed

+14
-2
lines changed

src/backend/catalog/pg_amop.h

+11-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
* Copyright (c) 1994, Regents of the University of California
99
*
10-
* $Id: pg_amop.h,v 1.1.1.1 1996/07/09 06:21:16 scrappy Exp $
10+
* $Id: pg_amop.h,v 1.2 1996/07/20 08:19:11 scrappy Exp $
1111
*
1212
* NOTES
1313
* the genbki.sh script reads this file and generates .bki
@@ -542,5 +542,15 @@ DATA(insert OID = 0 ( 405 1076 1054 1 hashsel hashnpage ));
542542
*/
543543
DATA(insert OID = 0 ( 405 1077 1062 1 hashsel hashnpage ));
544544

545+
/*
546+
* hash table date_ops
547+
*/
548+
DATA(insert OID = 0 ( 405 1114 1093 1 hashsel hashnpage ));
549+
550+
/*
551+
* hash table time_ops
552+
*/
553+
DATA(insert OID = 0 ( 405 1115 1108 1 hashsel hashnpage ));
554+
545555

546556
#endif /* PG_AMOP_H */

src/backend/catalog/pg_amproc.h

+3-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
*
1010
* Copyright (c) 1994, Regents of the University of California
1111
*
12-
* $Id: pg_amproc.h,v 1.1.1.1 1996/07/09 06:21:16 scrappy Exp $
12+
* $Id: pg_amproc.h,v 1.2 1996/07/20 08:19:13 scrappy Exp $
1313
*
1414
* NOTES
1515
* the genbki.sh script reads this file and generates .bki
@@ -130,5 +130,7 @@ DATA(insert OID = 0 (405 430 499 1));
130130
DATA(insert OID = 0 (405 431 456 1));
131131
DATA(insert OID = 0 (405 1076 1080 1));
132132
DATA(insert OID = 0 (405 1077 1081 1));
133+
DATA(insert OID = 0 (405 1114 450 1));
134+
DATA(insert OID = 0 (405 1115 694 1));
133135

134136
#endif /* PG_AMPROC_H */

0 commit comments

Comments
 (0)