7
7
*
8
8
* Copyright (c) 1994, Regents of the University of California
9
9
*
10
- * $Id: pg_opclass.h,v 1.1.1.1 1996/07/09 06:21:17 scrappy Exp $
10
+ * $Id: pg_opclass.h,v 1.2 1996/08/15 07:42:09 scrappy Exp $
11
11
*
12
12
* NOTES
13
13
* the genbki.sh script reads this file and generates .bki
34
34
35
35
CATALOG (pg_opclass ) {
36
36
NameData opcname ;
37
+ Oid opcdeftype ;
37
38
}FormData_pg_opclass ;
38
39
39
40
/* ----------------
@@ -47,39 +48,46 @@ typedef FormData_pg_opclass*Form_pg_opclass;
47
48
*compiler constants for pg_opclass
48
49
* ----------------
49
50
*/
50
- #define Natts_pg_opclass 1
51
+ #define Natts_pg_opclass 2
51
52
#define Anum_pg_opclass_opcname 1
53
+ #define Anum_pg_opclass_opcdeftype 2
52
54
53
55
/* ----------------
54
56
*initial contents of pg_opclass
55
57
* ----------------
56
58
*/
57
59
58
- DATA (insert OID = 406 (char2_ops ));
59
- DATA (insert OID = 407 (char4_ops ));
60
- DATA (insert OID = 408 (char8_ops ));
61
- DATA (insert OID = 409 (name_ops ));
62
- DATA (insert OID = 421 (int2_ops ));
63
- DATA (insert OID = 422 (box_ops ));
64
- DATA (insert OID = 423 (float8_ops ));
65
- DATA (insert OID = 424 (int24_ops ));
66
- DATA (insert OID = 425 (int42_ops ));
67
- DATA (insert OID = 426 (int4_ops ));
60
+ /*
61
+ * putting _null_'s in the (fixed-length) type field is bad
62
+ * (see the README in this directory), so just put zeros
63
+ * in, which are invalid OID's anyway. --djm
64
+ */
65
+ DATA (insert OID = 406 (char2_ops 409 ));
66
+ DATA (insert OID = 407 (char4_ops 410 ));
67
+ DATA (insert OID = 408 (char8_ops 411 ));
68
+ /* OID 409 is already used in table pg_type--this one should be unused */
69
+ DATA (insert OID = 1181 (name_ops 19 ));
70
+ DATA (insert OID = 421 (int2_ops 21 ));
71
+ DATA (insert OID = 422 (box_ops 603 ));
72
+ DATA (insert OID = 423 (float8_ops 701 ));
73
+ DATA (insert OID = 424 (int24_ops 0 ));
74
+ DATA (insert OID = 425 (int42_ops 0 ));
75
+ DATA (insert OID = 426 (int4_ops 23 ));
68
76
#define INT4_OPS_OID 426
69
- DATA (insert OID = 427 (oid_ops ));
70
- DATA (insert OID = 428 (float4_ops ));
71
- DATA (insert OID = 429 (char_ops ));
72
- DATA (insert OID = 430 (char16_ops ));
73
- DATA (insert OID = 431 (text_ops ));
74
- DATA (insert OID = 432 (abstime_ops ));
75
- DATA (insert OID = 433 (bigbox_ops ));
76
- DATA (insert OID = 434 (poly_ops ));
77
- DATA (insert OID = 435 (oidint4_ops ));
78
- DATA (insert OID = 436 (oidname_ops ));
79
- DATA (insert OID = 437 (oidint2_ops ));
80
- DATA (insert OID = 1076 (bpchar_ops ));
81
- DATA (insert OID = 1077 (varchar_ops ));
82
- DATA (insert OID = 1114 (date_ops ));
83
- DATA (insert OID = 1115 (time_ops ));
77
+ DATA (insert OID = 427 (oid_ops 26 ));
78
+ DATA (insert OID = 428 (float4_ops 700 ));
79
+ DATA (insert OID = 429 (char_ops 18 ));
80
+ DATA (insert OID = 430 (char16_ops 20 ));
81
+ DATA (insert OID = 431 (text_ops 25 ));
82
+ DATA (insert OID = 432 (abstime_ops 702 ));
83
+ DATA (insert OID = 433 (bigbox_ops 0 ));
84
+ DATA (insert OID = 434 (poly_ops 604 ));
85
+ DATA (insert OID = 435 (oidint4_ops 910 ));
86
+ DATA (insert OID = 436 (oidname_ops 911 ));
87
+ DATA (insert OID = 437 (oidint2_ops 810 ));
88
+ DATA (insert OID = 1076 (bpchar_ops 1042 ));
89
+ DATA (insert OID = 1077 (varchar_ops 1043 ));
90
+ DATA (insert OID = 1114 (date_ops 1082 ));
91
+ DATA (insert OID = 1115 (time_ops 1083 ));
84
92
85
93
#endif /* PG_OPCLASS_H */