]> granicus.if.org Git - postgresql/commitdiff
Add datetime and timespan hash index declarations. Use float8 for both;
authorThomas G. Lockhart <lockhart@fourpalms.org>
Sun, 30 Nov 1997 22:58:07 +0000 (22:58 +0000)
committerThomas G. Lockhart <lockhart@fourpalms.org>
Sun, 30 Nov 1997 22:58:07 +0000 (22:58 +0000)
 certainly OK for datetime since it is a float8 and should be OK for
 timespan since the first field within timespan is a float8.
Use float8 hash function for time type (rather than char8).

src/include/catalog/pg_amproc.h

index ea4069543b247e21a2a134743727025b2faf31e0..68935afa29df82e3b1cf557aa38bad1429a59f52 100644 (file)
@@ -9,7 +9,7 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: pg_amproc.h,v 1.6 1997/09/08 02:34:57 momjian Exp $
+ * $Id: pg_amproc.h,v 1.7 1997/11/30 22:58:07 thomas Exp $
  *
  * NOTES
  *       the genbki.sh script reads this file and generates .bki
@@ -21,7 +21,7 @@
 #define PG_AMPROC_H
 
 /* ----------------
- *             postgres.h contains the system type definintions and the
+ *             postgres.h contains the system type definitions and the
  *             CATALOG(), BOOTSTRAP and DATA() sugar words so this file
  *             can be read by both genbki.sh and the C compiler.
  * ----------------
@@ -133,6 +133,8 @@ 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));
+DATA(insert OID = 0 (405 1115  452 1));
+DATA(insert OID = 0 (405 1312  452 1));
+DATA(insert OID = 0 (405 1313  452 1));
 
 #endif                                                 /* PG_AMPROC_H */