pgrx_pg_sys/include/
pg14_oids.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
/* Automatically generated by bindgen. Do not hand-edit.

This code is generated for documentation purposes, so that it is
easy to reference on docs.rs. Bindings are regenerated for your
build of pgrx, and the values of your Postgres version may differ.
*/
use crate::NotBuiltinOid;
#[derive(Copy, Clone, Eq, PartialEq, Hash, Ord, PartialOrd, Debug)]
pub enum BuiltinOid {
    ACLITEMARRAYOID = 1034,
    ACLITEMOID = 1033,
    ANYARRAYOID = 2277,
    ANYCOMPATIBLEARRAYOID = 5078,
    ANYCOMPATIBLEMULTIRANGEOID = 4538,
    ANYCOMPATIBLENONARRAYOID = 5079,
    ANYCOMPATIBLEOID = 5077,
    ANYCOMPATIBLERANGEOID = 5080,
    ANYELEMENTOID = 2283,
    ANYENUMOID = 3500,
    ANYMULTIRANGEOID = 4537,
    ANYNONARRAYOID = 2776,
    ANYOID = 2276,
    ANYRANGEOID = 3831,
    AccessMethodOperatorRelationId = 2602,
    AccessMethodProcedureRelationId = 2603,
    AccessMethodRelationId = 2601,
    AttributeRelationId = 1249,
    AuthIdRelationId = 1260,
    BITARRAYOID = 1561,
    BITOID = 1560,
    BOOLARRAYOID = 1000,
    BOOLOID = 16,
    BOOL_BTREE_FAM_OID = 424,
    BOOL_HASH_FAM_OID = 2222,
    BOXARRAYOID = 1020,
    BOXOID = 603,
    BPCHARARRAYOID = 1014,
    BPCHAROID = 1042,
    BPCHAR_BTREE_FAM_OID = 426,
    BPCHAR_BTREE_PATTERN_OPS_OID = 4219,
    BPCHAR_PATTERN_BTREE_FAM_OID = 2097,
    BRIN_AM_OID = 3580,
    BTREE_AM_OID = 403,
    BYTEAARRAYOID = 1001,
    BYTEAOID = 17,
    BYTEA_BTREE_FAM_OID = 428,
    CHARARRAYOID = 1002,
    CHAROID = 18,
    CIDARRAYOID = 1012,
    CIDOID = 29,
    CIDRARRAYOID = 651,
    CIDROID = 650,
    CIRCLEARRAYOID = 719,
    CIRCLEOID = 718,
    CSTRINGARRAYOID = 1263,
    CSTRINGOID = 2275,
    C_COLLATION_OID = 950,
    CollationRelationId = 3456,
    DATEARRAYOID = 1182,
    DATEMULTIRANGEARRAYOID = 6155,
    DATEMULTIRANGEOID = 4535,
    DATEOID = 1082,
    DATERANGEARRAYOID = 3913,
    DATERANGEOID = 3912,
    DATE_BTREE_OPS_OID = 3122,
    DEFAULTTABLESPACE_OID = 1663,
    DEFAULT_COLLATION_OID = 100,
    DatabaseRelationId = 1262,
    EVENT_TRIGGEROID = 3838,
    EnumRelationId = 3501,
    EventTriggerRelationId = 3466,
    ExtensionRelationId = 3079,
    FDW_HANDLEROID = 3115,
    FLOAT4ARRAYOID = 1021,
    FLOAT4OID = 700,
    FLOAT8ARRAYOID = 1022,
    FLOAT8OID = 701,
    FLOAT8_BTREE_OPS_OID = 3123,
    F_BINARY_UPGRADE_SET_NEXT_ARRAY_PG_TYPE_OID = 3584,
    F_BINARY_UPGRADE_SET_NEXT_HEAP_PG_CLASS_OID = 3586,
    F_BINARY_UPGRADE_SET_NEXT_INDEX_PG_CLASS_OID = 3587,
    F_BINARY_UPGRADE_SET_NEXT_MULTIRANGE_ARRAY_PG_TYPE_OID = 4391,
    F_BINARY_UPGRADE_SET_NEXT_MULTIRANGE_PG_TYPE_OID = 4390,
    F_BINARY_UPGRADE_SET_NEXT_PG_AUTHID_OID = 3590,
    F_BINARY_UPGRADE_SET_NEXT_PG_ENUM_OID = 3589,
    F_BINARY_UPGRADE_SET_NEXT_PG_TYPE_OID = 3582,
    F_BINARY_UPGRADE_SET_NEXT_TOAST_PG_CLASS_OID = 3588,
    F_HASHOID = 453,
    F_INT8_OID = 1288,
    F_LO_GET_OID = 3458,
    F_LO_IMPORT_TEXT_OID = 767,
    F_MAX_OID = 2118,
    F_MIN_OID = 2134,
    F_NAMECONCATOID = 266,
    F_OBJ_DESCRIPTION_OID = 1348,
    F_OID = 1287,
    F_PG_DATABASE_SIZE_OID = 2324,
    F_PG_EVENT_TRIGGER_TABLE_REWRITE_OID = 4566,
    F_PG_GET_CONSTRAINTDEF_OID = 1387,
    F_PG_GET_EXPR_PG_NODE_TREE_OID = 1716,
    F_PG_GET_INDEXDEF_OID = 1643,
    F_PG_GET_RULEDEF_OID = 1573,
    F_PG_GET_TRIGGERDEF_OID = 1662,
    F_PG_GET_VIEWDEF_OID = 1641,
    F_PG_LS_TMPDIR_OID = 5030,
    F_PG_NEXTOID = 275,
    F_PG_REPLICATION_ORIGIN_OID = 6005,
    F_PG_TABLESPACE_SIZE_OID = 2322,
    F_ROW_SECURITY_ACTIVE_OID = 3298,
    F_TS_TOKEN_TYPE_OID = 3713,
    ForeignDataWrapperRelationId = 2328,
    ForeignServerRelationId = 1417,
    ForeignTableRelationId = 3118,
    GIN_AM_OID = 2742,
    GIST_AM_OID = 783,
    GLOBALTABLESPACE_OID = 1664,
    GTSVECTORARRAYOID = 3644,
    GTSVECTOROID = 3642,
    HASH_AM_OID = 405,
    HEAP_TABLE_AM_OID = 2,
    INDEX_AM_HANDLEROID = 325,
    INETARRAYOID = 1041,
    INETOID = 869,
    INT2ARRAYOID = 1005,
    INT2OID = 21,
    INT2VECTORARRAYOID = 1006,
    INT2VECTOROID = 22,
    INT2_BTREE_OPS_OID = 1979,
    INT4ARRAYOID = 1007,
    INT4MULTIRANGEARRAYOID = 6150,
    INT4MULTIRANGEOID = 4451,
    INT4OID = 23,
    INT4RANGEARRAYOID = 3905,
    INT4RANGEOID = 3904,
    INT4_BTREE_OPS_OID = 1978,
    INT8ARRAYOID = 1016,
    INT8MULTIRANGEARRAYOID = 6157,
    INT8MULTIRANGEOID = 4536,
    INT8OID = 20,
    INT8RANGEARRAYOID = 3927,
    INT8RANGEOID = 3926,
    INT8_BTREE_OPS_OID = 3124,
    INTEGER_BTREE_FAM_OID = 1976,
    INTERNALOID = 2281,
    INTERVALARRAYOID = 1187,
    INTERVALOID = 1186,
    INTERVAL_BTREE_FAM_OID = 1982,
    IndexRelationId = 2610,
    JSONARRAYOID = 199,
    JSONBARRAYOID = 3807,
    JSONBOID = 3802,
    JSONOID = 114,
    JSONPATHARRAYOID = 4073,
    JSONPATHOID = 4072,
    LANGUAGE_HANDLEROID = 2280,
    LINEARRAYOID = 629,
    LINEOID = 628,
    LSEGARRAYOID = 1018,
    LSEGOID = 601,
    MACADDR8ARRAYOID = 775,
    MACADDR8OID = 774,
    MACADDRARRAYOID = 1040,
    MACADDROID = 829,
    MONEYARRAYOID = 791,
    MONEYOID = 790,
    NAMEARRAYOID = 1003,
    NAMEOID = 19,
    NETWORK_BTREE_FAM_OID = 1974,
    NUMERICARRAYOID = 1231,
    NUMERICOID = 1700,
    NUMERIC_BTREE_OPS_OID = 3125,
    NUMMULTIRANGEARRAYOID = 6151,
    NUMMULTIRANGEOID = 4532,
    NUMRANGEARRAYOID = 3907,
    NUMRANGEOID = 3906,
    NamespaceRelationId = 2615,
    OIDARRAYOID = 1028,
    OIDOID = 26,
    OIDVECTORARRAYOID = 1013,
    OIDVECTOROID = 30,
    OID_BTREE_FAM_OID = 1989,
    OID_BTREE_OPS_OID = 1981,
    OperatorClassRelationId = 2616,
    OperatorFamilyRelationId = 2753,
    OperatorRelationId = 2617,
    PATHARRAYOID = 1019,
    PATHOID = 602,
    PG_ATTRIBUTEARRAYOID = 270,
    PG_BRIN_BLOOM_SUMMARYOID = 4600,
    PG_BRIN_MINMAX_MULTI_SUMMARYOID = 4601,
    PG_CLASSARRAYOID = 273,
    PG_DDL_COMMANDOID = 32,
    PG_DEPENDENCIESOID = 3402,
    PG_LSNARRAYOID = 3221,
    PG_LSNOID = 3220,
    PG_MCV_LISTOID = 5017,
    PG_NDISTINCTOID = 3361,
    PG_NODE_TREEOID = 194,
    PG_PROCARRAYOID = 272,
    PG_SNAPSHOTARRAYOID = 5039,
    PG_SNAPSHOTOID = 5038,
    PG_TYPEARRAYOID = 210,
    POINTARRAYOID = 1017,
    POINTOID = 600,
    POLYGONARRAYOID = 1027,
    POLYGONOID = 604,
    POSIX_COLLATION_OID = 951,
    PROGRESS_CREATEIDX_ACCESS_METHOD_OID = 8,
    PROGRESS_CREATEIDX_INDEX_OID = 6,
    ProcedureRelationId = 1255,
    PublicationRelationId = 6104,
    RECORDARRAYOID = 2287,
    RECORDOID = 2249,
    REFCURSORARRAYOID = 2201,
    REFCURSOROID = 1790,
    REGCLASSARRAYOID = 2210,
    REGCLASSOID = 2205,
    REGCOLLATIONARRAYOID = 4192,
    REGCOLLATIONOID = 4191,
    REGCONFIGARRAYOID = 3735,
    REGCONFIGOID = 3734,
    REGDICTIONARYARRAYOID = 3770,
    REGDICTIONARYOID = 3769,
    REGNAMESPACEARRAYOID = 4090,
    REGNAMESPACEOID = 4089,
    REGOPERARRAYOID = 2208,
    REGOPERATORARRAYOID = 2209,
    REGOPERATOROID = 2204,
    REGOPEROID = 2203,
    REGPROCARRAYOID = 1008,
    REGPROCEDUREARRAYOID = 2207,
    REGPROCEDUREOID = 2202,
    REGPROCOID = 24,
    REGROLEARRAYOID = 4097,
    REGROLEOID = 4096,
    REGTYPEARRAYOID = 2211,
    REGTYPEOID = 2206,
    RelationRelationId = 1259,
    SPGIST_AM_OID = 4000,
    SecLabelRelationId = 3596,
    StatisticRelationId = 2619,
    TABLE_AM_HANDLEROID = 269,
    TEXTARRAYOID = 1009,
    TEXTOID = 25,
    TEXT_BTREE_FAM_OID = 1994,
    TEXT_BTREE_OPS_OID = 3126,
    TEXT_BTREE_PATTERN_OPS_OID = 4217,
    TEXT_PATTERN_BTREE_FAM_OID = 2095,
    TEXT_SPGIST_FAM_OID = 4017,
    TIDARRAYOID = 1010,
    TIDOID = 27,
    TIMEARRAYOID = 1183,
    TIMEOID = 1083,
    TIMESTAMPARRAYOID = 1115,
    TIMESTAMPOID = 1114,
    TIMESTAMPTZARRAYOID = 1185,
    TIMESTAMPTZOID = 1184,
    TIMESTAMPTZ_BTREE_OPS_OID = 3127,
    TIMESTAMP_BTREE_OPS_OID = 3128,
    TIMETZARRAYOID = 1270,
    TIMETZOID = 1266,
    TRIGGEROID = 2279,
    TSMULTIRANGEARRAYOID = 6152,
    TSMULTIRANGEOID = 4533,
    TSM_HANDLEROID = 3310,
    TSQUERYARRAYOID = 3645,
    TSQUERYOID = 3615,
    TSRANGEARRAYOID = 3909,
    TSRANGEOID = 3908,
    TSTZMULTIRANGEARRAYOID = 6153,
    TSTZMULTIRANGEOID = 4534,
    TSTZRANGEARRAYOID = 3911,
    TSTZRANGEOID = 3910,
    TSVECTORARRAYOID = 3643,
    TSVECTOROID = 3614,
    TXID_SNAPSHOTARRAYOID = 2949,
    TXID_SNAPSHOTOID = 2970,
    TableSpaceRelationId = 1213,
    TemplateDbOid = 1,
    TriggerRelationId = 2620,
    TypeRelationId = 1247,
    UNKNOWNOID = 705,
    UUIDARRAYOID = 2951,
    UUIDOID = 2950,
    UserMappingRelationId = 1418,
    VARBITARRAYOID = 1563,
    VARBITOID = 1562,
    VARCHARARRAYOID = 1015,
    VARCHAROID = 1043,
    VARCHAR_BTREE_PATTERN_OPS_OID = 4218,
    VOIDOID = 2278,
    XID8ARRAYOID = 271,
    XID8OID = 5069,
    XIDARRAYOID = 1011,
    XIDOID = 28,
    XLOG_NEXTOID = 48,
    XMLARRAYOID = 143,
    XMLOID = 142,
}
impl BuiltinOid {
    pub const fn from_u32(uint: u32) -> Result<BuiltinOid, NotBuiltinOid> {
        match uint {
            0 => Err(NotBuiltinOid::Invalid),
            1034 => Ok(BuiltinOid::ACLITEMARRAYOID),
            1033 => Ok(BuiltinOid::ACLITEMOID),
            2277 => Ok(BuiltinOid::ANYARRAYOID),
            5078 => Ok(BuiltinOid::ANYCOMPATIBLEARRAYOID),
            4538 => Ok(BuiltinOid::ANYCOMPATIBLEMULTIRANGEOID),
            5079 => Ok(BuiltinOid::ANYCOMPATIBLENONARRAYOID),
            5077 => Ok(BuiltinOid::ANYCOMPATIBLEOID),
            5080 => Ok(BuiltinOid::ANYCOMPATIBLERANGEOID),
            2283 => Ok(BuiltinOid::ANYELEMENTOID),
            3500 => Ok(BuiltinOid::ANYENUMOID),
            4537 => Ok(BuiltinOid::ANYMULTIRANGEOID),
            2776 => Ok(BuiltinOid::ANYNONARRAYOID),
            2276 => Ok(BuiltinOid::ANYOID),
            3831 => Ok(BuiltinOid::ANYRANGEOID),
            2602 => Ok(BuiltinOid::AccessMethodOperatorRelationId),
            2603 => Ok(BuiltinOid::AccessMethodProcedureRelationId),
            2601 => Ok(BuiltinOid::AccessMethodRelationId),
            1249 => Ok(BuiltinOid::AttributeRelationId),
            1260 => Ok(BuiltinOid::AuthIdRelationId),
            1561 => Ok(BuiltinOid::BITARRAYOID),
            1560 => Ok(BuiltinOid::BITOID),
            1000 => Ok(BuiltinOid::BOOLARRAYOID),
            16 => Ok(BuiltinOid::BOOLOID),
            424 => Ok(BuiltinOid::BOOL_BTREE_FAM_OID),
            2222 => Ok(BuiltinOid::BOOL_HASH_FAM_OID),
            1020 => Ok(BuiltinOid::BOXARRAYOID),
            603 => Ok(BuiltinOid::BOXOID),
            1014 => Ok(BuiltinOid::BPCHARARRAYOID),
            1042 => Ok(BuiltinOid::BPCHAROID),
            426 => Ok(BuiltinOid::BPCHAR_BTREE_FAM_OID),
            4219 => Ok(BuiltinOid::BPCHAR_BTREE_PATTERN_OPS_OID),
            2097 => Ok(BuiltinOid::BPCHAR_PATTERN_BTREE_FAM_OID),
            3580 => Ok(BuiltinOid::BRIN_AM_OID),
            403 => Ok(BuiltinOid::BTREE_AM_OID),
            1001 => Ok(BuiltinOid::BYTEAARRAYOID),
            17 => Ok(BuiltinOid::BYTEAOID),
            428 => Ok(BuiltinOid::BYTEA_BTREE_FAM_OID),
            1002 => Ok(BuiltinOid::CHARARRAYOID),
            18 => Ok(BuiltinOid::CHAROID),
            1012 => Ok(BuiltinOid::CIDARRAYOID),
            29 => Ok(BuiltinOid::CIDOID),
            651 => Ok(BuiltinOid::CIDRARRAYOID),
            650 => Ok(BuiltinOid::CIDROID),
            719 => Ok(BuiltinOid::CIRCLEARRAYOID),
            718 => Ok(BuiltinOid::CIRCLEOID),
            1263 => Ok(BuiltinOid::CSTRINGARRAYOID),
            2275 => Ok(BuiltinOid::CSTRINGOID),
            950 => Ok(BuiltinOid::C_COLLATION_OID),
            3456 => Ok(BuiltinOid::CollationRelationId),
            1182 => Ok(BuiltinOid::DATEARRAYOID),
            6155 => Ok(BuiltinOid::DATEMULTIRANGEARRAYOID),
            4535 => Ok(BuiltinOid::DATEMULTIRANGEOID),
            1082 => Ok(BuiltinOid::DATEOID),
            3913 => Ok(BuiltinOid::DATERANGEARRAYOID),
            3912 => Ok(BuiltinOid::DATERANGEOID),
            3122 => Ok(BuiltinOid::DATE_BTREE_OPS_OID),
            1663 => Ok(BuiltinOid::DEFAULTTABLESPACE_OID),
            100 => Ok(BuiltinOid::DEFAULT_COLLATION_OID),
            1262 => Ok(BuiltinOid::DatabaseRelationId),
            3838 => Ok(BuiltinOid::EVENT_TRIGGEROID),
            3501 => Ok(BuiltinOid::EnumRelationId),
            3466 => Ok(BuiltinOid::EventTriggerRelationId),
            3079 => Ok(BuiltinOid::ExtensionRelationId),
            3115 => Ok(BuiltinOid::FDW_HANDLEROID),
            1021 => Ok(BuiltinOid::FLOAT4ARRAYOID),
            700 => Ok(BuiltinOid::FLOAT4OID),
            1022 => Ok(BuiltinOid::FLOAT8ARRAYOID),
            701 => Ok(BuiltinOid::FLOAT8OID),
            3123 => Ok(BuiltinOid::FLOAT8_BTREE_OPS_OID),
            3584 => Ok(BuiltinOid::F_BINARY_UPGRADE_SET_NEXT_ARRAY_PG_TYPE_OID),
            3586 => Ok(BuiltinOid::F_BINARY_UPGRADE_SET_NEXT_HEAP_PG_CLASS_OID),
            3587 => Ok(BuiltinOid::F_BINARY_UPGRADE_SET_NEXT_INDEX_PG_CLASS_OID),
            4391 => Ok(BuiltinOid::F_BINARY_UPGRADE_SET_NEXT_MULTIRANGE_ARRAY_PG_TYPE_OID),
            4390 => Ok(BuiltinOid::F_BINARY_UPGRADE_SET_NEXT_MULTIRANGE_PG_TYPE_OID),
            3590 => Ok(BuiltinOid::F_BINARY_UPGRADE_SET_NEXT_PG_AUTHID_OID),
            3589 => Ok(BuiltinOid::F_BINARY_UPGRADE_SET_NEXT_PG_ENUM_OID),
            3582 => Ok(BuiltinOid::F_BINARY_UPGRADE_SET_NEXT_PG_TYPE_OID),
            3588 => Ok(BuiltinOid::F_BINARY_UPGRADE_SET_NEXT_TOAST_PG_CLASS_OID),
            453 => Ok(BuiltinOid::F_HASHOID),
            1288 => Ok(BuiltinOid::F_INT8_OID),
            3458 => Ok(BuiltinOid::F_LO_GET_OID),
            767 => Ok(BuiltinOid::F_LO_IMPORT_TEXT_OID),
            2118 => Ok(BuiltinOid::F_MAX_OID),
            2134 => Ok(BuiltinOid::F_MIN_OID),
            266 => Ok(BuiltinOid::F_NAMECONCATOID),
            1348 => Ok(BuiltinOid::F_OBJ_DESCRIPTION_OID),
            1287 => Ok(BuiltinOid::F_OID),
            2324 => Ok(BuiltinOid::F_PG_DATABASE_SIZE_OID),
            4566 => Ok(BuiltinOid::F_PG_EVENT_TRIGGER_TABLE_REWRITE_OID),
            1387 => Ok(BuiltinOid::F_PG_GET_CONSTRAINTDEF_OID),
            1716 => Ok(BuiltinOid::F_PG_GET_EXPR_PG_NODE_TREE_OID),
            1643 => Ok(BuiltinOid::F_PG_GET_INDEXDEF_OID),
            1573 => Ok(BuiltinOid::F_PG_GET_RULEDEF_OID),
            1662 => Ok(BuiltinOid::F_PG_GET_TRIGGERDEF_OID),
            1641 => Ok(BuiltinOid::F_PG_GET_VIEWDEF_OID),
            5030 => Ok(BuiltinOid::F_PG_LS_TMPDIR_OID),
            275 => Ok(BuiltinOid::F_PG_NEXTOID),
            6005 => Ok(BuiltinOid::F_PG_REPLICATION_ORIGIN_OID),
            2322 => Ok(BuiltinOid::F_PG_TABLESPACE_SIZE_OID),
            3298 => Ok(BuiltinOid::F_ROW_SECURITY_ACTIVE_OID),
            3713 => Ok(BuiltinOid::F_TS_TOKEN_TYPE_OID),
            2328 => Ok(BuiltinOid::ForeignDataWrapperRelationId),
            1417 => Ok(BuiltinOid::ForeignServerRelationId),
            3118 => Ok(BuiltinOid::ForeignTableRelationId),
            2742 => Ok(BuiltinOid::GIN_AM_OID),
            783 => Ok(BuiltinOid::GIST_AM_OID),
            1664 => Ok(BuiltinOid::GLOBALTABLESPACE_OID),
            3644 => Ok(BuiltinOid::GTSVECTORARRAYOID),
            3642 => Ok(BuiltinOid::GTSVECTOROID),
            405 => Ok(BuiltinOid::HASH_AM_OID),
            2 => Ok(BuiltinOid::HEAP_TABLE_AM_OID),
            325 => Ok(BuiltinOid::INDEX_AM_HANDLEROID),
            1041 => Ok(BuiltinOid::INETARRAYOID),
            869 => Ok(BuiltinOid::INETOID),
            1005 => Ok(BuiltinOid::INT2ARRAYOID),
            21 => Ok(BuiltinOid::INT2OID),
            1006 => Ok(BuiltinOid::INT2VECTORARRAYOID),
            22 => Ok(BuiltinOid::INT2VECTOROID),
            1979 => Ok(BuiltinOid::INT2_BTREE_OPS_OID),
            1007 => Ok(BuiltinOid::INT4ARRAYOID),
            6150 => Ok(BuiltinOid::INT4MULTIRANGEARRAYOID),
            4451 => Ok(BuiltinOid::INT4MULTIRANGEOID),
            23 => Ok(BuiltinOid::INT4OID),
            3905 => Ok(BuiltinOid::INT4RANGEARRAYOID),
            3904 => Ok(BuiltinOid::INT4RANGEOID),
            1978 => Ok(BuiltinOid::INT4_BTREE_OPS_OID),
            1016 => Ok(BuiltinOid::INT8ARRAYOID),
            6157 => Ok(BuiltinOid::INT8MULTIRANGEARRAYOID),
            4536 => Ok(BuiltinOid::INT8MULTIRANGEOID),
            20 => Ok(BuiltinOid::INT8OID),
            3927 => Ok(BuiltinOid::INT8RANGEARRAYOID),
            3926 => Ok(BuiltinOid::INT8RANGEOID),
            3124 => Ok(BuiltinOid::INT8_BTREE_OPS_OID),
            1976 => Ok(BuiltinOid::INTEGER_BTREE_FAM_OID),
            2281 => Ok(BuiltinOid::INTERNALOID),
            1187 => Ok(BuiltinOid::INTERVALARRAYOID),
            1186 => Ok(BuiltinOid::INTERVALOID),
            1982 => Ok(BuiltinOid::INTERVAL_BTREE_FAM_OID),
            2610 => Ok(BuiltinOid::IndexRelationId),
            199 => Ok(BuiltinOid::JSONARRAYOID),
            3807 => Ok(BuiltinOid::JSONBARRAYOID),
            3802 => Ok(BuiltinOid::JSONBOID),
            114 => Ok(BuiltinOid::JSONOID),
            4073 => Ok(BuiltinOid::JSONPATHARRAYOID),
            4072 => Ok(BuiltinOid::JSONPATHOID),
            2280 => Ok(BuiltinOid::LANGUAGE_HANDLEROID),
            629 => Ok(BuiltinOid::LINEARRAYOID),
            628 => Ok(BuiltinOid::LINEOID),
            1018 => Ok(BuiltinOid::LSEGARRAYOID),
            601 => Ok(BuiltinOid::LSEGOID),
            775 => Ok(BuiltinOid::MACADDR8ARRAYOID),
            774 => Ok(BuiltinOid::MACADDR8OID),
            1040 => Ok(BuiltinOid::MACADDRARRAYOID),
            829 => Ok(BuiltinOid::MACADDROID),
            791 => Ok(BuiltinOid::MONEYARRAYOID),
            790 => Ok(BuiltinOid::MONEYOID),
            1003 => Ok(BuiltinOid::NAMEARRAYOID),
            19 => Ok(BuiltinOid::NAMEOID),
            1974 => Ok(BuiltinOid::NETWORK_BTREE_FAM_OID),
            1231 => Ok(BuiltinOid::NUMERICARRAYOID),
            1700 => Ok(BuiltinOid::NUMERICOID),
            3125 => Ok(BuiltinOid::NUMERIC_BTREE_OPS_OID),
            6151 => Ok(BuiltinOid::NUMMULTIRANGEARRAYOID),
            4532 => Ok(BuiltinOid::NUMMULTIRANGEOID),
            3907 => Ok(BuiltinOid::NUMRANGEARRAYOID),
            3906 => Ok(BuiltinOid::NUMRANGEOID),
            2615 => Ok(BuiltinOid::NamespaceRelationId),
            1028 => Ok(BuiltinOid::OIDARRAYOID),
            26 => Ok(BuiltinOid::OIDOID),
            1013 => Ok(BuiltinOid::OIDVECTORARRAYOID),
            30 => Ok(BuiltinOid::OIDVECTOROID),
            1989 => Ok(BuiltinOid::OID_BTREE_FAM_OID),
            1981 => Ok(BuiltinOid::OID_BTREE_OPS_OID),
            2616 => Ok(BuiltinOid::OperatorClassRelationId),
            2753 => Ok(BuiltinOid::OperatorFamilyRelationId),
            2617 => Ok(BuiltinOid::OperatorRelationId),
            1019 => Ok(BuiltinOid::PATHARRAYOID),
            602 => Ok(BuiltinOid::PATHOID),
            270 => Ok(BuiltinOid::PG_ATTRIBUTEARRAYOID),
            4600 => Ok(BuiltinOid::PG_BRIN_BLOOM_SUMMARYOID),
            4601 => Ok(BuiltinOid::PG_BRIN_MINMAX_MULTI_SUMMARYOID),
            273 => Ok(BuiltinOid::PG_CLASSARRAYOID),
            32 => Ok(BuiltinOid::PG_DDL_COMMANDOID),
            3402 => Ok(BuiltinOid::PG_DEPENDENCIESOID),
            3221 => Ok(BuiltinOid::PG_LSNARRAYOID),
            3220 => Ok(BuiltinOid::PG_LSNOID),
            5017 => Ok(BuiltinOid::PG_MCV_LISTOID),
            3361 => Ok(BuiltinOid::PG_NDISTINCTOID),
            194 => Ok(BuiltinOid::PG_NODE_TREEOID),
            272 => Ok(BuiltinOid::PG_PROCARRAYOID),
            5039 => Ok(BuiltinOid::PG_SNAPSHOTARRAYOID),
            5038 => Ok(BuiltinOid::PG_SNAPSHOTOID),
            210 => Ok(BuiltinOid::PG_TYPEARRAYOID),
            1017 => Ok(BuiltinOid::POINTARRAYOID),
            600 => Ok(BuiltinOid::POINTOID),
            1027 => Ok(BuiltinOid::POLYGONARRAYOID),
            604 => Ok(BuiltinOid::POLYGONOID),
            951 => Ok(BuiltinOid::POSIX_COLLATION_OID),
            8 => Ok(BuiltinOid::PROGRESS_CREATEIDX_ACCESS_METHOD_OID),
            6 => Ok(BuiltinOid::PROGRESS_CREATEIDX_INDEX_OID),
            1255 => Ok(BuiltinOid::ProcedureRelationId),
            6104 => Ok(BuiltinOid::PublicationRelationId),
            2287 => Ok(BuiltinOid::RECORDARRAYOID),
            2249 => Ok(BuiltinOid::RECORDOID),
            2201 => Ok(BuiltinOid::REFCURSORARRAYOID),
            1790 => Ok(BuiltinOid::REFCURSOROID),
            2210 => Ok(BuiltinOid::REGCLASSARRAYOID),
            2205 => Ok(BuiltinOid::REGCLASSOID),
            4192 => Ok(BuiltinOid::REGCOLLATIONARRAYOID),
            4191 => Ok(BuiltinOid::REGCOLLATIONOID),
            3735 => Ok(BuiltinOid::REGCONFIGARRAYOID),
            3734 => Ok(BuiltinOid::REGCONFIGOID),
            3770 => Ok(BuiltinOid::REGDICTIONARYARRAYOID),
            3769 => Ok(BuiltinOid::REGDICTIONARYOID),
            4090 => Ok(BuiltinOid::REGNAMESPACEARRAYOID),
            4089 => Ok(BuiltinOid::REGNAMESPACEOID),
            2208 => Ok(BuiltinOid::REGOPERARRAYOID),
            2209 => Ok(BuiltinOid::REGOPERATORARRAYOID),
            2204 => Ok(BuiltinOid::REGOPERATOROID),
            2203 => Ok(BuiltinOid::REGOPEROID),
            1008 => Ok(BuiltinOid::REGPROCARRAYOID),
            2207 => Ok(BuiltinOid::REGPROCEDUREARRAYOID),
            2202 => Ok(BuiltinOid::REGPROCEDUREOID),
            24 => Ok(BuiltinOid::REGPROCOID),
            4097 => Ok(BuiltinOid::REGROLEARRAYOID),
            4096 => Ok(BuiltinOid::REGROLEOID),
            2211 => Ok(BuiltinOid::REGTYPEARRAYOID),
            2206 => Ok(BuiltinOid::REGTYPEOID),
            1259 => Ok(BuiltinOid::RelationRelationId),
            4000 => Ok(BuiltinOid::SPGIST_AM_OID),
            3596 => Ok(BuiltinOid::SecLabelRelationId),
            2619 => Ok(BuiltinOid::StatisticRelationId),
            269 => Ok(BuiltinOid::TABLE_AM_HANDLEROID),
            1009 => Ok(BuiltinOid::TEXTARRAYOID),
            25 => Ok(BuiltinOid::TEXTOID),
            1994 => Ok(BuiltinOid::TEXT_BTREE_FAM_OID),
            3126 => Ok(BuiltinOid::TEXT_BTREE_OPS_OID),
            4217 => Ok(BuiltinOid::TEXT_BTREE_PATTERN_OPS_OID),
            2095 => Ok(BuiltinOid::TEXT_PATTERN_BTREE_FAM_OID),
            4017 => Ok(BuiltinOid::TEXT_SPGIST_FAM_OID),
            1010 => Ok(BuiltinOid::TIDARRAYOID),
            27 => Ok(BuiltinOid::TIDOID),
            1183 => Ok(BuiltinOid::TIMEARRAYOID),
            1083 => Ok(BuiltinOid::TIMEOID),
            1115 => Ok(BuiltinOid::TIMESTAMPARRAYOID),
            1114 => Ok(BuiltinOid::TIMESTAMPOID),
            1185 => Ok(BuiltinOid::TIMESTAMPTZARRAYOID),
            1184 => Ok(BuiltinOid::TIMESTAMPTZOID),
            3127 => Ok(BuiltinOid::TIMESTAMPTZ_BTREE_OPS_OID),
            3128 => Ok(BuiltinOid::TIMESTAMP_BTREE_OPS_OID),
            1270 => Ok(BuiltinOid::TIMETZARRAYOID),
            1266 => Ok(BuiltinOid::TIMETZOID),
            2279 => Ok(BuiltinOid::TRIGGEROID),
            6152 => Ok(BuiltinOid::TSMULTIRANGEARRAYOID),
            4533 => Ok(BuiltinOid::TSMULTIRANGEOID),
            3310 => Ok(BuiltinOid::TSM_HANDLEROID),
            3645 => Ok(BuiltinOid::TSQUERYARRAYOID),
            3615 => Ok(BuiltinOid::TSQUERYOID),
            3909 => Ok(BuiltinOid::TSRANGEARRAYOID),
            3908 => Ok(BuiltinOid::TSRANGEOID),
            6153 => Ok(BuiltinOid::TSTZMULTIRANGEARRAYOID),
            4534 => Ok(BuiltinOid::TSTZMULTIRANGEOID),
            3911 => Ok(BuiltinOid::TSTZRANGEARRAYOID),
            3910 => Ok(BuiltinOid::TSTZRANGEOID),
            3643 => Ok(BuiltinOid::TSVECTORARRAYOID),
            3614 => Ok(BuiltinOid::TSVECTOROID),
            2949 => Ok(BuiltinOid::TXID_SNAPSHOTARRAYOID),
            2970 => Ok(BuiltinOid::TXID_SNAPSHOTOID),
            1213 => Ok(BuiltinOid::TableSpaceRelationId),
            1 => Ok(BuiltinOid::TemplateDbOid),
            2620 => Ok(BuiltinOid::TriggerRelationId),
            1247 => Ok(BuiltinOid::TypeRelationId),
            705 => Ok(BuiltinOid::UNKNOWNOID),
            2951 => Ok(BuiltinOid::UUIDARRAYOID),
            2950 => Ok(BuiltinOid::UUIDOID),
            1418 => Ok(BuiltinOid::UserMappingRelationId),
            1563 => Ok(BuiltinOid::VARBITARRAYOID),
            1562 => Ok(BuiltinOid::VARBITOID),
            1015 => Ok(BuiltinOid::VARCHARARRAYOID),
            1043 => Ok(BuiltinOid::VARCHAROID),
            4218 => Ok(BuiltinOid::VARCHAR_BTREE_PATTERN_OPS_OID),
            2278 => Ok(BuiltinOid::VOIDOID),
            271 => Ok(BuiltinOid::XID8ARRAYOID),
            5069 => Ok(BuiltinOid::XID8OID),
            1011 => Ok(BuiltinOid::XIDARRAYOID),
            28 => Ok(BuiltinOid::XIDOID),
            48 => Ok(BuiltinOid::XLOG_NEXTOID),
            143 => Ok(BuiltinOid::XMLARRAYOID),
            142 => Ok(BuiltinOid::XMLOID),
            _ => Err(NotBuiltinOid::Ambiguous),
        }
    }
}