From: "Karl O. Pinc" Date: Sun, 24 Sep 2023 16:36:36 -0500 Subject: [PATCH v4 09/12] Document the oidvector type The oidvector type is used in pg_proc.proargtypes, and perhaps elsewhere in the catalogs. But there is no documentation on how to get oids out of a oidvector or otherwise manipulate the data type for those who wish to do so. This seems the only place where such documentation would go. --- doc/src/sgml/datatype.sgml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/doc/src/sgml/datatype.sgml b/doc/src/sgml/datatype.sgml index 8d32a8c9c5..91cc1e5cb0 100644 --- a/doc/src/sgml/datatype.sgml +++ b/doc/src/sgml/datatype.sgml @@ -4754,6 +4754,17 @@ INSERT INTO mytable VALUES(-1); -- fails signed-versus-unsigned confusion if you do this.) + + oidvector + + + + The legacy oidvector type can be cast to an array of OIDs, + and vice versa, for examination and manipulation. + The resultant array of OIDs, unlike a typical array, is indexed + zero-relative. + + The OID alias types have no operations of their own except for specialized input and output routines. These routines are able -- 2.30.2 --MP_/OOXZvOwbpccKfGOtE9/SwX6 Content-Type: text/x-patch Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=v4-0010-Improve-sentences-about-the-significance-of-the-s.patch