|
136 | 136 |
|
137 | 137 | # OIDS 100 - 199 |
138 | 138 |
|
139 | | -{ oid => '114', array_type_oid => '199', |
| 139 | +{ oid => '114', array_type_oid => '199', descr => 'JSON stored as text', |
140 | 140 | typname => 'json', typlen => '-1', typbyval => 'f', typcategory => 'U', |
141 | 141 | typinput => 'json_in', typoutput => 'json_out', typreceive => 'json_recv', |
142 | 142 | typsend => 'json_send', typalign => 'i', typstorage => 'x' }, |
|
240 | 240 | typname => 'tinterval', typlen => '12', typbyval => 'f', typcategory => 'T', |
241 | 241 | typinput => 'tintervalin', typoutput => 'tintervalout', |
242 | 242 | typreceive => 'tintervalrecv', typsend => 'tintervalsend', typalign => 'i' }, |
243 | | -{ oid => '705', |
| 243 | +{ oid => '705', descr => 'pseudo-type representing an undetermined type', |
244 | 244 | typname => 'unknown', typlen => '-2', typbyval => 'f', typtype => 'p', |
245 | 245 | typcategory => 'X', typinput => 'unknownin', typoutput => 'unknownout', |
246 | 246 | typreceive => 'unknownrecv', typsend => 'unknownsend', typalign => 'c' }, |
|
506 | 506 | # but there is now support for it in records and arrays. Perhaps we should |
507 | 507 | # just treat it as a regular base type? |
508 | 508 |
|
509 | | -{ oid => '2249', |
| 509 | +{ oid => '2249', descr => 'pseudo-type representing any composite type', |
510 | 510 | typname => 'record', typlen => '-1', typbyval => 'f', typtype => 'p', |
511 | 511 | typcategory => 'P', typarray => '_record', typinput => 'record_in', |
512 | 512 | typoutput => 'record_out', typreceive => 'record_recv', |
|
517 | 517 | typcategory => 'P', typelem => 'record', typinput => 'array_in', |
518 | 518 | typoutput => 'array_out', typreceive => 'array_recv', typsend => 'array_send', |
519 | 519 | typanalyze => 'array_typanalyze', typalign => 'd', typstorage => 'x' }, |
520 | | -{ oid => '2275', array_type_oid => '1263', |
| 520 | +{ oid => '2275', array_type_oid => '1263', descr => 'C-style string', |
521 | 521 | typname => 'cstring', typlen => '-2', typbyval => 'f', typtype => 'p', |
522 | 522 | typcategory => 'P', typinput => 'cstring_in', typoutput => 'cstring_out', |
523 | 523 | typreceive => 'cstring_recv', typsend => 'cstring_send', typalign => 'c' }, |
524 | | -{ oid => '2276', |
| 524 | +{ oid => '2276', descr => 'pseudo-type representing any type', |
525 | 525 | typname => 'any', typlen => '4', typbyval => 't', typtype => 'p', |
526 | 526 | typcategory => 'P', typinput => 'any_in', typoutput => 'any_out', |
527 | 527 | typreceive => '-', typsend => '-', typalign => 'i' }, |
528 | | -{ oid => '2277', |
| 528 | +{ oid => '2277', descr => 'pseudo-type representing a polymorphic array type', |
529 | 529 | typname => 'anyarray', typlen => '-1', typbyval => 'f', typtype => 'p', |
530 | 530 | typcategory => 'P', typinput => 'anyarray_in', typoutput => 'anyarray_out', |
531 | 531 | typreceive => 'anyarray_recv', typsend => 'anyarray_send', typalign => 'd', |
532 | 532 | typstorage => 'x' }, |
533 | 533 | { oid => '2278', |
| 534 | + descr => 'pseudo-type for the result of a function with no real result', |
534 | 535 | typname => 'void', typlen => '4', typbyval => 't', typtype => 'p', |
535 | 536 | typcategory => 'P', typinput => 'void_in', typoutput => 'void_out', |
536 | 537 | typreceive => 'void_recv', typsend => 'void_send', typalign => 'i' }, |
537 | | -{ oid => '2279', |
| 538 | +{ oid => '2279', descr => 'pseudo-type for the result of a trigger function', |
538 | 539 | typname => 'trigger', typlen => '4', typbyval => 't', typtype => 'p', |
539 | 540 | typcategory => 'P', typinput => 'trigger_in', typoutput => 'trigger_out', |
540 | 541 | typreceive => '-', typsend => '-', typalign => 'i' }, |
541 | 542 | { oid => '3838', oid_symbol => 'EVTTRIGGEROID', |
| 543 | + descr => 'pseudo-type for the result of an event trigger function', |
542 | 544 | typname => 'event_trigger', typlen => '4', typbyval => 't', typtype => 'p', |
543 | 545 | typcategory => 'P', typinput => 'event_trigger_in', |
544 | 546 | typoutput => 'event_trigger_out', typreceive => '-', typsend => '-', |
545 | 547 | typalign => 'i' }, |
546 | 548 | { oid => '2280', |
| 549 | + descr => 'pseudo-type for the result of a language handler function', |
547 | 550 | typname => 'language_handler', typlen => '4', typbyval => 't', typtype => 'p', |
548 | 551 | typcategory => 'P', typinput => 'language_handler_in', |
549 | 552 | typoutput => 'language_handler_out', typreceive => '-', typsend => '-', |
550 | 553 | typalign => 'i' }, |
551 | 554 | { oid => '2281', |
| 555 | + descr => 'pseudo-type representing an internal data structure', |
552 | 556 | typname => 'internal', typlen => 'SIZEOF_POINTER', typbyval => 't', |
553 | 557 | typtype => 'p', typcategory => 'P', typinput => 'internal_in', |
554 | 558 | typoutput => 'internal_out', typreceive => '-', typsend => '-', |
555 | 559 | typalign => 'ALIGNOF_POINTER' }, |
556 | | -{ oid => '2282', |
| 560 | +{ oid => '2282', descr => 'obsolete, deprecated pseudo-type', |
557 | 561 | typname => 'opaque', typlen => '4', typbyval => 't', typtype => 'p', |
558 | 562 | typcategory => 'P', typinput => 'opaque_in', typoutput => 'opaque_out', |
559 | 563 | typreceive => '-', typsend => '-', typalign => 'i' }, |
560 | | -{ oid => '2283', |
| 564 | +{ oid => '2283', descr => 'pseudo-type representing a polymorphic base type', |
561 | 565 | typname => 'anyelement', typlen => '4', typbyval => 't', typtype => 'p', |
562 | 566 | typcategory => 'P', typinput => 'anyelement_in', |
563 | 567 | typoutput => 'anyelement_out', typreceive => '-', typsend => '-', |
564 | 568 | typalign => 'i' }, |
565 | 569 | { oid => '2776', |
| 570 | + descr => 'pseudo-type representing a polymorphic base type that is not an array', |
566 | 571 | typname => 'anynonarray', typlen => '4', typbyval => 't', typtype => 'p', |
567 | 572 | typcategory => 'P', typinput => 'anynonarray_in', |
568 | 573 | typoutput => 'anynonarray_out', typreceive => '-', typsend => '-', |
569 | 574 | typalign => 'i' }, |
570 | 575 | { oid => '3500', |
| 576 | + descr => 'pseudo-type representing a polymorphic base type that is an enum', |
571 | 577 | typname => 'anyenum', typlen => '4', typbyval => 't', typtype => 'p', |
572 | 578 | typcategory => 'P', typinput => 'anyenum_in', typoutput => 'anyenum_out', |
573 | 579 | typreceive => '-', typsend => '-', typalign => 'i' }, |
574 | 580 | { oid => '3115', |
| 581 | + descr => 'pseudo-type for the result of an FDW handler function', |
575 | 582 | typname => 'fdw_handler', typlen => '4', typbyval => 't', typtype => 'p', |
576 | 583 | typcategory => 'P', typinput => 'fdw_handler_in', |
577 | 584 | typoutput => 'fdw_handler_out', typreceive => '-', typsend => '-', |
578 | 585 | typalign => 'i' }, |
579 | 586 | { oid => '325', |
| 587 | + descr => 'pseudo-type for the result of an index AM handler function', |
580 | 588 | typname => 'index_am_handler', typlen => '4', typbyval => 't', typtype => 'p', |
581 | 589 | typcategory => 'P', typinput => 'index_am_handler_in', |
582 | 590 | typoutput => 'index_am_handler_out', typreceive => '-', typsend => '-', |
583 | 591 | typalign => 'i' }, |
584 | 592 | { oid => '3310', |
| 593 | + descr => 'pseudo-type for the result of a tablesample method function', |
585 | 594 | typname => 'tsm_handler', typlen => '4', typbyval => 't', typtype => 'p', |
586 | 595 | typcategory => 'P', typinput => 'tsm_handler_in', |
587 | 596 | typoutput => 'tsm_handler_out', typreceive => '-', typsend => '-', |
588 | 597 | typalign => 'i' }, |
589 | 598 | { oid => '3831', |
| 599 | + descr => 'pseudo-type representing a polymorphic base type that is a range', |
590 | 600 | typname => 'anyrange', typlen => '-1', typbyval => 'f', typtype => 'p', |
591 | 601 | typcategory => 'P', typinput => 'anyrange_in', typoutput => 'anyrange_out', |
592 | 602 | typreceive => '-', typsend => '-', typalign => 'd', typstorage => 'x' }, |
|