Исходный код СУБД RuDB — свободной СУБД с открытым исходным кодом на базе PostgreSQL
rudb
2026-10-06 6bac54b555d27f1a85c1e4f011a6e7bd9111b0d0
src/include/catalog/pg_type.dat
@@ -1192,6 +1192,187 @@
  typbasetype => 'xmltype',
  typcollation => '0'
},
# rowid → text
{ oid => '9191',
  descr => 'Oracle-compatible ROWID type',
  typname => 'rowid',
  typlen => '-1',
  typbyval => 'f',
  typtype => 'd',
  typcategory => 'S',
  typispreferred => 'f',
  typdelim => ',',
  typinput => 'textin',
  typoutput => 'textout',
  typreceive => 'textrecv',
  typsend => 'textsend',
  typmodin => '-',
  typmodout => '-',
  typanalyze => '-',
  typalign => 'i',
  typstorage => 'x',
  typnotnull => 'f',
  typbasetype => 'text',
  typcollation => 'default'
},
{ oid => '9192',
  descr => 'Array of rowid',
  typname => '_rowid',
  typlen => '-1',
  typbyval => 'f',
  typtype => 'b',
  typcategory => 'A',
  typispreferred => 'f',
  typdelim => ',',
  typinput => 'array_in',
  typoutput => 'array_out',
  typreceive => 'array_recv',
  typsend => 'array_send',
  typmodin => '-',
  typmodout => '-',
  typanalyze => '-',
  typalign => 'i',
  typstorage => 'x',
  typnotnull => 'f',
  typbasetype => 'rowid',
  typcollation => '0'
},
{ oid => '14844',
  descr => 'Oracle-compatible AWRRPT_INSTANCE_LIST_TYPE domain over number[]',
  typname => 'awrrpt_instance_list_type',
  typlen => '-1',
  typbyval => 'f',
  typtype => 'd',
  typcategory => 'A',
  typispreferred => 'f',
  typdelim => ',',
  typinput => 'array_in',
  typoutput => 'array_out',
  typreceive => 'array_recv',
  typsend => 'array_send',
  typmodin => '-',
  typmodout => '-',
  typanalyze => '-',
  typalign => 'i',
  typstorage => 'x',
  typnotnull => 'f',
  typbasetype => '_number',
  typcollation => '0'
},
{ oid => '14845',
  descr => 'Array of awrrpt_instance_list_type',
  typname => '_awrrpt_instance_list_type',
  typlen => '-1',
  typbyval => 'f',
  typtype => 'b',
  typcategory => 'A',
  typispreferred => 'f',
  typdelim => ',',
  typinput => 'array_in',
  typoutput => 'array_out',
  typreceive => 'array_recv',
  typsend => 'array_send',
  typmodin => '-',
  typmodout => '-',
  typanalyze => '-',
  typalign => 'i',
  typstorage => 'x',
  typnotnull => 'f',
  typbasetype => 'awrrpt_instance_list_type',
  typcollation => '0'
},
# urowid → text
{ oid => '9193',
  descr => 'Oracle-compatible UROWID type',
  typname => 'urowid',
  typlen => '-1',
  typbyval => 'f',
  typtype => 'd',
  typcategory => 'S',
  typispreferred => 'f',
  typdelim => ',',
  typinput => 'textin',
  typoutput => 'textout',
  typreceive => 'textrecv',
  typsend => 'textsend',
  typmodin => '-',
  typmodout => '-',
  typanalyze => '-',
  typalign => 'i',
  typstorage => 'x',
  typnotnull => 'f',
  typbasetype => 'text',
  typcollation => 'default'
},
{ oid => '9194',
  descr => 'Array of urowid',
  typname => '_urowid',
  typlen => '-1',
  typbyval => 'f',
  typtype => 'b',
  typcategory => 'A',
  typispreferred => 'f',
  typdelim => ',',
  typinput => 'array_in',
  typoutput => 'array_out',
  typreceive => 'array_recv',
  typsend => 'array_send',
  typmodin => '-',
  typmodout => '-',
  typanalyze => '-',
  typalign => 'i',
  typstorage => 'x',
  typnotnull => 'f',
  typbasetype => 'urowid',
  typcollation => '0'
},
# ------------------------------
{ oid => '9211',
  descr => 'Oracle-совместимый long на основе типа text Postgres',
  typname => 'long',
  typlen => '-1',
  typbyval => 'f',
  typtype => 'd',
  typcategory => 'U',
  typispreferred => 'f',
  typdelim => ',',
  typinput => 'textin',
  typoutput => 'textout',
  typreceive => 'textrecv',
  typsend => 'textsend',
  typmodin => '-',
  typmodout => '-',
  typanalyze => '-',
  typalign => 'i',
  typstorage => 'x',
  typnotnull => 'f',
  typbasetype => 'text',
  typcollation => 'default'
},
# ------------------------------
{ oid => '9212',
  descr => 'Массив для Oracle-совместимого long созданного на основе типа text Postgres',
  typname => '_long',
  typlen => '-1',
  typbyval => 'f',
  typtype => 'd',
  typcategory => 'A',
  typispreferred => 'f',
  typdelim => ',',
  typinput => 'array_in',
  typoutput => 'array_out',
  typreceive => 'array_recv',
  typsend => 'array_send',
  typmodin => '-',
  typmodout => '-',
  typanalyze => '-',
  typalign => 'i',
  typstorage => 'x',
  typnotnull => 'f',
  typbasetype => 'long',
  typcollation => '0'
},
# ------------------------------
{ oid => '9239',
  descr => 'Oracle-совместимый ovarchar на основе типа varchar2 Oracle',
@@ -1237,5 +1418,59 @@
  typnotnull => 'f',
  typbasetype => 'ovarchar',
  typcollation => '0'
},
{ oid => '9241',
  array_type_oid => '9242',
  descr => 'VECTOR',
  typname => 'vector',
  typlen => '-1',
  typbyval => 'f',
  typtype => 'b',
  typcategory => 'G',
  typispreferred => 'f',
  typdelim => ',',
  typinput => 'vector_in',
  typoutput => 'vector_out',
  typmodin => 'vector_typmod_in',
  typreceive => 'vector_recv',
  typsend => 'vector_send',
  typalign => 'i',
  typstorage => 'e'
},
{ oid => '9243',
  array_type_oid => '9244',
  descr => 'HALFVEC',
  typname => 'halfvec',
  typlen => '-1',
  typbyval => 'f',
  typtype => 'b',
  typcategory => 'G',
  typispreferred => 'f',
  typdelim => ',',
  typinput => 'halfvec_in',
  typoutput => 'halfvec_out',
  typmodin => 'halfvec_typmod_in',
  typreceive => 'halfvec_recv',
  typsend => 'halfvec_send',
  typalign => 'i',
  typstorage => 'e'
},
{ oid => '9245',
  array_type_oid => '9246',
  descr => 'SPARSEVEC',
  typname => 'sparsevec',
  typlen => '-1',
  typbyval => 'f',
  typtype => 'b',
  typcategory => 'G',
  typispreferred => 'f',
  typdelim => ',',
  typinput => 'sparsevec_in',
  typoutput => 'sparsevec_out',
  typmodin => 'sparsevec_typmod_in',
  typreceive => 'sparsevec_recv',
  typsend => 'sparsevec_send',
  typalign => 'i',
  typstorage => 'e'
}
]