|
3 | 3 | # pg_type.dat
|
4 | 4 | # Initial contents of the pg_type system catalog.
|
5 | 5 | #
|
6 |
| -# Portions Copyright (c) 1996-2022, PostgreSQL Global Development Group |
| 6 | +# Portions Copyright (c) 1996-2024, PostgreSQL Global Development Group |
7 | 7 | # Portions Copyright (c) 1994, Regents of the University of California
|
8 | 8 | #
|
9 | 9 | # src/include/catalog/pg_type.dat
|
|
32 | 32 | # OIDS 1 - 99
|
33 | 33 |
|
34 | 34 | { oid => '16', array_type_oid => '1000',
|
35 |
| - descr => 'boolean, \'true\'/\'false\'', |
| 35 | + descr => 'boolean, format \'t\'/\'f\'', |
36 | 36 | typname => 'bool', typlen => '1', typbyval => 't', typcategory => 'B',
|
37 | 37 | typispreferred => 't', typinput => 'boolin', typoutput => 'boolout',
|
38 | 38 | typreceive => 'boolrecv', typsend => 'boolsend', typalign => 'c' },
|
|
90 | 90 | typispreferred => 't', typinput => 'oidin', typoutput => 'oidout',
|
91 | 91 | typreceive => 'oidrecv', typsend => 'oidsend', typalign => 'i' },
|
92 | 92 | { oid => '27', array_type_oid => '1010',
|
93 |
| - descr => '(block, offset), physical location of tuple', |
| 93 | + descr => 'tuple physical location, format \'(block,offset)\'', |
94 | 94 | typname => 'tid', typlen => '6', typbyval => 'f', typcategory => 'U',
|
95 | 95 | typinput => 'tidin', typoutput => 'tidout', typreceive => 'tidrecv',
|
96 | 96 | typsend => 'tidsend', typalign => 's' },
|
|
179 | 179 | # OIDS 600 - 699
|
180 | 180 |
|
181 | 181 | { oid => '600', array_type_oid => '1017',
|
182 |
| - descr => 'geometric point \'(x, y)\'', |
| 182 | + descr => 'geometric point, format \'(x,y)\'', |
183 | 183 | typname => 'point', typlen => '16', typbyval => 'f', typcategory => 'G',
|
184 | 184 | typsubscript => 'raw_array_subscript_handler', typelem => 'float8',
|
185 | 185 | typinput => 'point_in', typoutput => 'point_out', typreceive => 'point_recv',
|
186 | 186 | typsend => 'point_send', typalign => 'd' },
|
187 | 187 | { oid => '601', array_type_oid => '1018',
|
188 |
| - descr => 'geometric line segment \'(pt1,pt2)\'', |
| 188 | + descr => 'geometric line segment, format \'[point1,point2]\'', |
189 | 189 | typname => 'lseg', typlen => '32', typbyval => 'f', typcategory => 'G',
|
190 | 190 | typsubscript => 'raw_array_subscript_handler', typelem => 'point',
|
191 | 191 | typinput => 'lseg_in', typoutput => 'lseg_out', typreceive => 'lseg_recv',
|
192 | 192 | typsend => 'lseg_send', typalign => 'd' },
|
193 | 193 | { oid => '602', array_type_oid => '1019',
|
194 |
| - descr => 'geometric path \'(pt1,...)\'', |
| 194 | + descr => 'geometric path, format \'(point1,...)\'', |
195 | 195 | typname => 'path', typlen => '-1', typbyval => 'f', typcategory => 'G',
|
196 | 196 | typinput => 'path_in', typoutput => 'path_out', typreceive => 'path_recv',
|
197 | 197 | typsend => 'path_send', typalign => 'd', typstorage => 'x' },
|
198 | 198 | { oid => '603', array_type_oid => '1020',
|
199 |
| - descr => 'geometric box \'(lower left,upper right)\'', |
| 199 | + descr => 'geometric box, format \'lower left point,upper right point\'', |
200 | 200 | typname => 'box', typlen => '32', typbyval => 'f', typcategory => 'G',
|
201 | 201 | typdelim => ';', typsubscript => 'raw_array_subscript_handler',
|
202 | 202 | typelem => 'point', typinput => 'box_in', typoutput => 'box_out',
|
203 | 203 | typreceive => 'box_recv', typsend => 'box_send', typalign => 'd' },
|
204 | 204 | { oid => '604', array_type_oid => '1027',
|
205 |
| - descr => 'geometric polygon \'(pt1,...)\'', |
| 205 | + descr => 'geometric polygon, format \'(point1,...)\'', |
206 | 206 | typname => 'polygon', typlen => '-1', typbyval => 'f', typcategory => 'G',
|
207 | 207 | typinput => 'poly_in', typoutput => 'poly_out', typreceive => 'poly_recv',
|
208 | 208 | typsend => 'poly_send', typalign => 'd', typstorage => 'x' },
|
209 |
| -{ oid => '628', array_type_oid => '629', descr => 'geometric line', |
| 209 | +{ oid => '628', array_type_oid => '629', |
| 210 | + descr => 'geometric line, formats \'{A,B,C}\'/\'[point1,point2]\'', |
210 | 211 | typname => 'line', typlen => '24', typbyval => 'f', typcategory => 'G',
|
211 | 212 | typsubscript => 'raw_array_subscript_handler', typelem => 'float8',
|
212 | 213 | typinput => 'line_in', typoutput => 'line_out', typreceive => 'line_recv',
|
|
230 | 231 | typcategory => 'X', typinput => 'unknownin', typoutput => 'unknownout',
|
231 | 232 | typreceive => 'unknownrecv', typsend => 'unknownsend', typalign => 'c' },
|
232 | 233 | { oid => '718', array_type_oid => '719',
|
233 |
| - descr => 'geometric circle \'(center,radius)\'', |
| 234 | + descr => 'geometric circle, format \'<center point,radius>\'', |
234 | 235 | typname => 'circle', typlen => '24', typbyval => 'f', typcategory => 'G',
|
235 | 236 | typinput => 'circle_in', typoutput => 'circle_out',
|
236 | 237 | typreceive => 'circle_recv', typsend => 'circle_send', typalign => 'd' },
|
|
267 | 268 | # OIDS 1000 - 1099
|
268 | 269 |
|
269 | 270 | { oid => '1033', array_type_oid => '1034', descr => 'access control list',
|
270 |
| - typname => 'aclitem', typlen => '12', typbyval => 'f', typcategory => 'U', |
| 271 | + typname => 'aclitem', typlen => '16', typbyval => 'f', typcategory => 'U', |
271 | 272 | typinput => 'aclitemin', typoutput => 'aclitemout', typreceive => '-',
|
272 |
| - typsend => '-', typalign => 'i' }, |
| 273 | + typsend => '-', typalign => 'd' }, |
273 | 274 | { oid => '1042', array_type_oid => '1014',
|
274 |
| - descr => 'char(length), blank-padded string, fixed storage length', |
| 275 | + descr => '\'char(length)\' blank-padded string, fixed storage length', |
275 | 276 | typname => 'bpchar', typlen => '-1', typbyval => 'f', typcategory => 'S',
|
276 | 277 | typinput => 'bpcharin', typoutput => 'bpcharout', typreceive => 'bpcharrecv',
|
277 | 278 | typsend => 'bpcharsend', typmodin => 'bpchartypmodin',
|
278 | 279 | typmodout => 'bpchartypmodout', typalign => 'i', typstorage => 'x',
|
279 | 280 | typcollation => 'default' },
|
280 | 281 | { oid => '1043', array_type_oid => '1015',
|
281 |
| - descr => 'varchar(length), non-blank-padded string, variable storage length', |
| 282 | + descr => '\'varchar(length)\' non-blank-padded string, variable storage length', |
282 | 283 | typname => 'varchar', typlen => '-1', typbyval => 'f', typcategory => 'S',
|
283 | 284 | typinput => 'varcharin', typoutput => 'varcharout',
|
284 | 285 | typreceive => 'varcharrecv', typsend => 'varcharsend',
|
|
310 | 311 | typsend => 'timestamptz_send', typmodin => 'timestamptztypmodin',
|
311 | 312 | typmodout => 'timestamptztypmodout', typalign => 'd' },
|
312 | 313 | { oid => '1186', array_type_oid => '1187',
|
313 |
| - descr => '@ <number> <units>, time interval', |
| 314 | + descr => 'time interval, format \'number units ...\'', |
314 | 315 | typname => 'interval', typlen => '16', typbyval => 'f', typcategory => 'T',
|
315 | 316 | typispreferred => 't', typinput => 'interval_in', typoutput => 'interval_out',
|
316 | 317 | typreceive => 'interval_recv', typsend => 'interval_send',
|
|
345 | 346 | # OIDS 1700 - 1799
|
346 | 347 |
|
347 | 348 | { oid => '1700', array_type_oid => '1231',
|
348 |
| - descr => 'numeric(precision, decimal), arbitrary precision number', |
| 349 | + descr => '\'numeric(precision, scale)\' arbitrary precision number', |
349 | 350 | typname => 'numeric', typlen => '-1', typbyval => 'f', typcategory => 'N',
|
350 | 351 | typinput => 'numeric_in', typoutput => 'numeric_out',
|
351 | 352 | typreceive => 'numeric_recv', typsend => 'numeric_send',
|
|
400 | 401 | typalign => 'i' },
|
401 | 402 |
|
402 | 403 | # uuid
|
403 |
| -{ oid => '2950', array_type_oid => '2951', descr => 'UUID datatype', |
| 404 | +{ oid => '2950', array_type_oid => '2951', descr => 'UUID', |
404 | 405 | typname => 'uuid', typlen => '16', typbyval => 'f', typcategory => 'U',
|
405 | 406 | typinput => 'uuid_in', typoutput => 'uuid_out', typreceive => 'uuid_recv',
|
406 | 407 | typsend => 'uuid_send', typalign => 'c' },
|
407 | 408 |
|
408 | 409 | # pg_lsn
|
409 |
| -{ oid => '3220', array_type_oid => '3221', descr => 'PostgreSQL LSN datatype', |
| 410 | +{ oid => '3220', array_type_oid => '3221', descr => 'PostgreSQL LSN', |
410 | 411 | typname => 'pg_lsn', typlen => '8', typbyval => 'FLOAT8PASSBYVAL',
|
411 | 412 | typcategory => 'U', typinput => 'pg_lsn_in', typoutput => 'pg_lsn_out',
|
412 | 413 | typreceive => 'pg_lsn_recv', typsend => 'pg_lsn_send', typalign => 'd' },
|
|
452 | 453 | typreceive => 'jsonpath_recv', typsend => 'jsonpath_send', typalign => 'i',
|
453 | 454 | typstorage => 'x' },
|
454 | 455 |
|
455 |
| -{ oid => '2970', array_type_oid => '2949', descr => 'txid snapshot', |
| 456 | +{ oid => '2970', array_type_oid => '2949', descr => 'transaction snapshot', |
456 | 457 | typname => 'txid_snapshot', typlen => '-1', typbyval => 'f',
|
457 | 458 | typcategory => 'U', typinput => 'txid_snapshot_in',
|
458 | 459 | typoutput => 'txid_snapshot_out', typreceive => 'txid_snapshot_recv',
|
459 | 460 | typsend => 'txid_snapshot_send', typalign => 'd', typstorage => 'x' },
|
460 |
| -{ oid => '5038', array_type_oid => '5039', descr => 'snapshot', |
| 461 | +{ oid => '5038', array_type_oid => '5039', descr => 'transaction snapshot', |
461 | 462 | typname => 'pg_snapshot', typlen => '-1', typbyval => 'f', typcategory => 'U',
|
462 | 463 | typinput => 'pg_snapshot_in', typoutput => 'pg_snapshot_out',
|
463 | 464 | typreceive => 'pg_snapshot_recv', typsend => 'pg_snapshot_send',
|
|
633 | 634 | typoutput => 'tsm_handler_out', typreceive => '-', typsend => '-',
|
634 | 635 | typalign => 'i' },
|
635 | 636 | { oid => '269',
|
| 637 | + descr => 'pseudo-type for the result of a table AM handler function', |
636 | 638 | typname => 'table_am_handler', typlen => '4', typbyval => 't', typtype => 'p',
|
637 | 639 | typcategory => 'P', typinput => 'table_am_handler_in',
|
638 | 640 | typoutput => 'table_am_handler_out', typreceive => '-', typsend => '-',
|
|
679 | 681 | typtype => 'p', typcategory => 'P', typinput => 'anycompatiblemultirange_in',
|
680 | 682 | typoutput => 'anycompatiblemultirange_out', typreceive => '-', typsend => '-',
|
681 | 683 | typalign => 'd', typstorage => 'x' },
|
682 |
| -{ oid => '4600', descr => 'BRIN bloom summary', |
| 684 | +{ oid => '4600', descr => 'pseudo-type representing BRIN bloom summary', |
683 | 685 | typname => 'pg_brin_bloom_summary', typlen => '-1', typbyval => 'f',
|
684 | 686 | typcategory => 'Z', typinput => 'brin_bloom_summary_in',
|
685 | 687 | typoutput => 'brin_bloom_summary_out',
|
686 | 688 | typreceive => 'brin_bloom_summary_recv', typsend => 'brin_bloom_summary_send',
|
687 | 689 | typalign => 'i', typstorage => 'x', typcollation => 'default' },
|
688 |
| -{ oid => '4601', descr => 'BRIN minmax-multi summary', |
| 690 | +{ oid => '4601', |
| 691 | + descr => 'pseudo-type representing BRIN minmax-multi summary', |
689 | 692 | typname => 'pg_brin_minmax_multi_summary', typlen => '-1', typbyval => 'f',
|
690 | 693 | typcategory => 'Z', typinput => 'brin_minmax_multi_summary_in',
|
691 | 694 | typoutput => 'brin_minmax_multi_summary_out',
|
|
0 commit comments