YugabyteDB (2.13.0.0-b42, bfc6a6643e7399ac8a0e81d06a3ee6d6571b33ab)

Coverage Report

Created: 2022-03-09 17:30

/Users/deen/code/yugabyte-db/build/debugcov-clang-dynamic-arm64-ninja/postgres_build/src/include/catalog/pg_type_d.h
Line
Count
Source (jump to first uncovered line)
1
/*-------------------------------------------------------------------------
2
 *
3
 * pg_type_d.h
4
 *    Macro definitions for pg_type
5
 *
6
 * Portions Copyright (c) 1996-2018, PostgreSQL Global Development Group
7
 * Portions Copyright (c) 1994, Regents of the University of California
8
 *
9
 * NOTES
10
 *  ******************************
11
 *  *** DO NOT EDIT THIS FILE! ***
12
 *  ******************************
13
 *
14
 *  It has been GENERATED by src/backend/catalog/genbki.pl
15
 *
16
 *-------------------------------------------------------------------------
17
 */
18
#ifndef PG_TYPE_D_H
19
#define PG_TYPE_D_H
20
21
29.1k
#define TypeRelationId 1247
22
2.04k
#define TypeRelation_Rowtype_Id 71
23
24
3.09k
#define Anum_pg_type_typname 1
25
3.09k
#define Anum_pg_type_typnamespace 2
26
3.20k
#define Anum_pg_type_typowner 3
27
3.09k
#define Anum_pg_type_typlen 4
28
3.09k
#define Anum_pg_type_typbyval 5
29
3.09k
#define Anum_pg_type_typtype 6
30
3.09k
#define Anum_pg_type_typcategory 7
31
3.09k
#define Anum_pg_type_typispreferred 8
32
3.09k
#define Anum_pg_type_typisdefined 9
33
3.09k
#define Anum_pg_type_typdelim 10
34
3.09k
#define Anum_pg_type_typrelid 11
35
3.09k
#define Anum_pg_type_typelem 12
36
3.09k
#define Anum_pg_type_typarray 13
37
3.09k
#define Anum_pg_type_typinput 14
38
3.09k
#define Anum_pg_type_typoutput 15
39
3.09k
#define Anum_pg_type_typreceive 16
40
3.09k
#define Anum_pg_type_typsend 17
41
3.09k
#define Anum_pg_type_typmodin 18
42
3.09k
#define Anum_pg_type_typmodout 19
43
3.09k
#define Anum_pg_type_typanalyze 20
44
3.09k
#define Anum_pg_type_typalign 21
45
3.09k
#define Anum_pg_type_typstorage 22
46
3.09k
#define Anum_pg_type_typnotnull 23
47
3.09k
#define Anum_pg_type_typbasetype 24
48
3.09k
#define Anum_pg_type_typtypmod 25
49
3.09k
#define Anum_pg_type_typndims 26
50
3.09k
#define Anum_pg_type_typcollation 27
51
3.44k
#define Anum_pg_type_typdefaultbin 28
52
3.43k
#define Anum_pg_type_typdefault 29
53
3.63k
#define Anum_pg_type_typacl 30
54
55
98.0k
#define Natts_pg_type 30
56
57
58
/*
59
 * macros for values of poor-mans-enumerated-type columns
60
 */
61
13.4k
#define  TYPTYPE_BASE   'b' /* base type (ordinary scalar type) */
62
102k
#define  TYPTYPE_COMPOSITE  'c' /* composite (e.g., table's rowtype) */
63
540k
#define  TYPTYPE_DOMAIN   'd' /* domain over another type */
64
127k
#define  TYPTYPE_ENUM   'e' /* enumerated type */
65
4.63k
#define  TYPTYPE_PSEUDO   'p' /* pseudo-type */
66
7.51k
#define  TYPTYPE_RANGE    'r' /* range type */
67
68
1.73k
#define  TYPCATEGORY_INVALID  '\0'  /* not an allowed category */
69
1.51k
#define  TYPCATEGORY_ARRAY    'A'
70
#define  TYPCATEGORY_BOOLEAN  'B'
71
1.52k
#define  TYPCATEGORY_COMPOSITE  'C'
72
#define  TYPCATEGORY_DATETIME 'D'
73
3
#define  TYPCATEGORY_ENUM   'E'
74
#define  TYPCATEGORY_GEOMETRIC  'G'
75
#define  TYPCATEGORY_NETWORK  'I' /* think INET */
76
#define  TYPCATEGORY_NUMERIC  'N'
77
#define  TYPCATEGORY_PSEUDOTYPE 'P'
78
0
#define  TYPCATEGORY_RANGE    'R'
79
1.25k
#define  TYPCATEGORY_STRING   'S'
80
#define  TYPCATEGORY_TIMESPAN 'T'
81
44
#define  TYPCATEGORY_USER   'U'
82
#define  TYPCATEGORY_BITSTRING  'V' /* er ... "varbit"? */
83
#define  TYPCATEGORY_UNKNOWN  'X'
84
85
/* Is a type OID a polymorphic pseudotype?  (Beware of multiple evaluation) */
86
#define IsPolymorphicType(typid)  \
87
1.14M
  ((typid) == ANYELEMENTOID || \
88
319k
   (typid) == ANYARRAYOID || \
89
317k
   (typid) == ANYNONARRAYOID || \
90
317k
   (typid) == ANYENUMOID || \
91
317k
   (typid) == ANYRANGEOID)
92
93
219k
#define BOOLOID 16
94
3.13M
#define BYTEAOID 17
95
5.87k
#define CHAROID 18
96
756k
#define NAMEOID 19
97
17.9k
#define INT8OID 20
98
10.8k
#define INT2OID 21
99
19.5k
#define INT2VECTOROID 22
100
1.44M
#define INT4OID 23
101
109k
#define REGPROCOID 24
102
1.40M
#define TEXTOID 25
103
2.95M
#define OIDOID 26
104
126
#define TIDOID 27
105
933
#define XIDOID 28
106
933
#define CIDOID 29
107
40.9k
#define OIDVECTOROID 30
108
756
#define JSONOID 114
109
3
#define XMLOID 142
110
0
#define PGNODETREEOID 194
111
0
#define PGNDISTINCTOID 3361
112
0
#define PGDEPENDENCIESOID 3402
113
0
#define PGDDLCOMMANDOID 32
114
0
#define SMGROID 210
115
10
#define POINTOID 600
116
10
#define LSEGOID 601
117
22
#define PATHOID 602
118
10
#define BOXOID 603
119
40
#define POLYGONOID 604
120
10
#define LINEOID 628
121
2.91k
#define FLOAT4OID 700
122
1.98k
#define FLOAT8OID 701
123
3
#define ABSTIMEOID 702
124
15
#define RELTIMEOID 703
125
15
#define TINTERVALOID 704
126
909k
#define UNKNOWNOID 705
127
13
#define CIRCLEOID 718
128
944
#define CASHOID 790
129
10
#define MACADDROID 829
130
25
#define INETOID 869
131
13
#define CIDROID 650
132
11
#define MACADDR8OID 774
133
11.3k
#define ACLITEMOID 1033
134
1.49M
#define BPCHAROID 1042
135
1.61M
#define VARCHAROID 1043
136
21
#define DATEOID 1082
137
18
#define TIMEOID 1083
138
33
#define TIMESTAMPOID 1114
139
38
#define TIMESTAMPTZOID 1184
140
155k
#define INTERVALOID 1186
141
11
#define TIMETZOID 1266
142
59
#define BITOID 1560
143
35
#define VARBITOID 1562
144
2.84k
#define NUMERICOID 1700
145
0
#define REFCURSOROID 1790
146
109k
#define REGPROCEDUREOID 2202
147
109k
#define REGOPEROID 2203
148
109k
#define REGOPERATOROID 2204
149
4.77M
#define REGCLASSOID 2205
150
109k
#define REGTYPEOID 2206
151
109k
#define REGROLEOID 4096
152
109k
#define REGNAMESPACEOID 4089
153
11
#define UUIDOID 2950
154
0
#define LSNOID 3220
155
21
#define TSVECTOROID 3614
156
21
#define GTSVECTOROID 3642
157
21
#define TSQUERYOID 3615
158
109k
#define REGCONFIGOID 3734
159
109k
#define REGDICTIONARYOID 3769
160
37
#define JSONBOID 3802
161
#define JSONPATHOID 8003
162
33
#define TXID_SNAPSHOTOID 2970
163
9
#define INT4RANGEOID 3904
164
6
#define NUMRANGEOID 3906
165
9
#define TSRANGEOID 3908
166
9
#define TSTZRANGEOID 3910
167
12
#define DATERANGEOID 3912
168
12
#define INT8RANGEOID 3926
169
1.62M
#define RECORDOID 2249
170
78.3k
#define RECORDARRAYOID 2287
171
12.5k
#define CSTRINGOID 2275
172
614k
#define ANYOID 2276
173
1.19M
#define ANYARRAYOID 2277
174
35.4k
#define VOIDOID 2278
175
826
#define TRIGGEROID 2279
176
0
#define EVTTRIGGEROID 3838
177
0
#define LANGUAGE_HANDLEROID 2280
178
9.25k
#define INTERNALOID 2281
179
14
#define OPAQUEOID 2282
180
1.53M
#define ANYELEMENTOID 2283
181
1.44M
#define ANYNONARRAYOID 2776
182
1.47M
#define ANYENUMOID 3500
183
3
#define FDW_HANDLEROID 3115
184
0
#define INDEX_AM_HANDLEROID 325
185
2
#define TSM_HANDLEROID 3310
186
690k
#define ANYRANGEOID 3831
187
3
#define BOOLARRAYOID 1000
188
0
#define BYTEAARRAYOID 1001
189
0
#define CHARARRAYOID 1002
190
0
#define NAMEARRAYOID 1003
191
0
#define INT8ARRAYOID 1016
192
3
#define INT2ARRAYOID 1005
193
0
#define INT2VECTORARRAYOID 1006
194
3
#define INT4ARRAYOID 1007
195
0
#define REGPROCARRAYOID 1008
196
54
#define TEXTARRAYOID 1009
197
0
#define OIDARRAYOID 1028
198
0
#define TIDARRAYOID 1010
199
0
#define XIDARRAYOID 1011
200
0
#define CIDARRAYOID 1012
201
0
#define OIDVECTORARRAYOID 1013
202
3
#define JSONARRAYOID 199
203
0
#define XMLARRAYOID 143
204
3
#define POINTARRAYOID 1017
205
3
#define LSEGARRAYOID 1018
206
3
#define PATHARRAYOID 1019
207
3
#define BOXARRAYOID 1020
208
3
#define POLYGONARRAYOID 1027
209
3
#define LINEARRAYOID 629
210
3
#define FLOAT4ARRAYOID 1021
211
3
#define FLOAT8ARRAYOID 1022
212
0
#define ABSTIMEARRAYOID 1023
213
0
#define RELTIMEARRAYOID 1024
214
0
#define TINTERVALARRAYOID 1025
215
3
#define CIRCLEARRAYOID 719
216
3
#define MONEYARRAYOID 791
217
3
#define MACADDRARRAYOID 1040
218
3
#define INETARRAYOID 1041
219
3
#define CIDRARRAYOID 651
220
3
#define MACADDR8ARRAYOID 775
221
0
#define ACLITEMARRAYOID 1034
222
3
#define BPCHARARRAYOID 1014
223
3
#define VARCHARARRAYOID 1015
224
3
#define DATEARRAYOID 1182
225
3
#define TIMEARRAYOID 1183
226
3
#define TIMESTAMPARRAYOID 1115
227
3
#define TIMESTAMPTZARRAYOID 1185
228
3
#define INTERVALARRAYOID 1187
229
3
#define TIMETZARRAYOID 1270
230
0
#define BITARRAYOID 1561
231
3
#define VARBITARRAYOID 1563
232
0
#define NUMERICARRAYOID 1231
233
#define REFCURSORARRAYOID 2201
234
0
#define REGPROCEDUREARRAYOID 2207
235
0
#define REGOPERARRAYOID 2208
236
0
#define REGOPERATORARRAYOID 2209
237
0
#define REGCLASSARRAYOID 2210
238
0
#define REGTYPEARRAYOID 2211
239
0
#define REGROLEARRAYOID 4097
240
0
#define REGNAMESPACEARRAYOID 4090
241
3
#define UUIDARRAYOID 2951
242
0
#define PG_LSNARRAYOID 3221
243
0
#define TSVECTORARRAYOID 3643
244
0
#define GTSVECTORARRAYOID 3644
245
0
#define TSQUERYARRAYOID 3645
246
0
#define REGCONFIGARRAYOID 3735
247
0
#define REGDICTIONARYARRAYOID 3770
248
3
#define JSONBARRAYOID 3807
249
#define JSONPATHARRAYOID 8004
250
3
#define TXID_SNAPSHOTARRAYOID 2949
251
3
#define INT4RANGEARRAYOID 3905
252
3
#define NUMRANGEARRAYOID 3907
253
3
#define TSRANGEARRAYOID 3909
254
3
#define TSTZRANGEARRAYOID 3911
255
3
#define DATERANGEARRAYOID 3913
256
3
#define INT8RANGEARRAYOID 3927
257
2
#define CSTRINGARRAYOID 1263
258
259
#endif              /* PG_TYPE_D_H */