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

Commit b12ba5f

Browse files
author
Thomas G. Lockhart
committed
Specify hash table support functions for float8 and int4 rather than using
btree support functions. Don't know why this was that way, but would assume that these should be consistant with all other types with hash support. Regression tests OK. Change a few comments and field alignment to make things more readable.
1 parent 2c98143 commit b12ba5f

File tree

1 file changed

+31
-31
lines changed

1 file changed

+31
-31
lines changed

src/include/catalog/pg_amop.h

Lines changed: 31 additions & 31 deletions
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.7 1997/09/08 02:34:56 momjian Exp $
10+
* $Id: pg_amop.h,v 1.8 1997/11/30 23:03:28 thomas Exp $
1111
*
1212
* NOTES
1313
* the genbki.sh script reads this file and generates .bki
@@ -539,41 +539,41 @@ BKI_END
539539
* hash table _ops
540540
*/
541541

542-
/* hash table int2_ops */
543-
DATA(insert OID = 0 ( 405 421 94 1 btreesel btreenpage ));
544-
/* hash table float8_ops */
545-
DATA(insert OID = 0 ( 405 423 670 1 btreesel btreenpage ));
546-
/* hash table int4_ops */
547-
DATA(insert OID = 0 ( 405 426 96 1 hashsel hashnpage ));
548-
/* hash table oid_ops */
549-
DATA(insert OID = 0 ( 405 427 607 1 hashsel hashnpage ));
550-
/* hash table float4_ops */
551-
DATA(insert OID = 0 ( 405 428 620 1 hashsel hashnpage ));
552-
/* hash table char_ops */
553-
DATA(insert OID = 0 ( 405 429 92 1 hashsel hashnpage ));
554-
/* hash table char2_ops */
555-
DATA(insert OID = 0 ( 405 406 412 1 hashsel hashnpage ));
556-
/* hash table char4_ops */
557-
DATA(insert OID = 0 ( 405 407 413 1 hashsel hashnpage ));
558-
/* hash table char8_ops */
559-
DATA(insert OID = 0 ( 405 408 414 1 hashsel hashnpage ));
560-
/* hash table char16_ops */
561-
DATA(insert OID = 0 ( 405 430 1267 1 hashsel hashnpage ));
562-
/* hash table name_ops */
563-
DATA(insert OID = 0 ( 405 1181 93 1 hashsel hashnpage ));
564-
/* hash table text_ops */
565-
DATA(insert OID = 0 ( 405 431 98 1 hashsel hashnpage ));
566-
/* hash table bpchar_ops */
542+
/* int2_ops */
543+
DATA(insert OID = 0 ( 405 421 94 1 hashsel hashnpage ));
544+
/* float8_ops */
545+
DATA(insert OID = 0 ( 405 423 670 1 hashsel hashnpage ));
546+
/* int4_ops */
547+
DATA(insert OID = 0 ( 405 426 96 1 hashsel hashnpage ));
548+
/* oid_ops */
549+
DATA(insert OID = 0 ( 405 427 607 1 hashsel hashnpage ));
550+
/* float4_ops */
551+
DATA(insert OID = 0 ( 405 428 620 1 hashsel hashnpage ));
552+
/* char_ops */
553+
DATA(insert OID = 0 ( 405 429 92 1 hashsel hashnpage ));
554+
/* char2_ops */
555+
DATA(insert OID = 0 ( 405 406 412 1 hashsel hashnpage ));
556+
/* char4_ops */
557+
DATA(insert OID = 0 ( 405 407 413 1 hashsel hashnpage ));
558+
/* char8_ops */
559+
DATA(insert OID = 0 ( 405 408 414 1 hashsel hashnpage ));
560+
/* char16_ops */
561+
DATA(insert OID = 0 ( 405 430 1267 1 hashsel hashnpage ));
562+
/* name_ops */
563+
DATA(insert OID = 0 ( 405 1181 93 1 hashsel hashnpage ));
564+
/* text_ops */
565+
DATA(insert OID = 0 ( 405 431 98 1 hashsel hashnpage ));
566+
/* bpchar_ops */
567567
DATA(insert OID = 0 ( 405 1076 1054 1 hashsel hashnpage ));
568-
/* hash table varchar_ops */
568+
/* varchar_ops */
569569
DATA(insert OID = 0 ( 405 1077 1062 1 hashsel hashnpage ));
570-
/* hash table date_ops */
570+
/* date_ops */
571571
DATA(insert OID = 0 ( 405 1114 1093 1 hashsel hashnpage ));
572-
/* hash table time_ops */
572+
/* time_ops */
573573
DATA(insert OID = 0 ( 405 1115 1108 1 hashsel hashnpage ));
574-
/* hash table datetime_ops */
574+
/* datetime_ops */
575575
DATA(insert OID = 0 ( 405 1312 1320 1 hashsel hashnpage ));
576-
/* hash table timespan_ops */
576+
/* timespan_ops */
577577
DATA(insert OID = 0 ( 405 1313 1330 1 hashsel hashnpage ));
578578

579579
#endif /* PG_AMOP_H */

0 commit comments

Comments
 (0)