From 652f7818bf978b7230e4462535aef0c9d216b99f Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Mon, 25 Jan 2021 11:20:17 -0500 Subject: [PATCH] Doc: improve documentation of pg_proc.protrftypes. Add a "references" link pointing to pg_type, as we have for other arrays of type OIDs. Wordsmith the explanation a bit. Joel Jacobson, additional editing by me Discussion: https://postgr.es/m/d1cc628c-3953-4209-957b-29427acc38c8@www.fastmail.com --- doc/src/sgml/catalogs.sgml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/doc/src/sgml/catalogs.sgml b/doc/src/sgml/catalogs.sgml index a6671e1ae4..612cc69802 100644 --- a/doc/src/sgml/catalogs.sgml +++ b/doc/src/sgml/catalogs.sgml @@ -5862,7 +5862,7 @@ SCRAM-SHA-256$<iteration count>:&l (references pg_type.oid) - An array with the data types of the function arguments. This includes + An array of the data types of the function arguments. This includes only input arguments (including INOUT and VARIADIC arguments), and thus represents the call signature of the function. @@ -5875,7 +5875,7 @@ SCRAM-SHA-256$<iteration count>:&l (references pg_type.oid) - An array with the data types of the function arguments. This includes + An array of the data types of the function arguments. This includes all arguments (including OUT and INOUT arguments); however, if all the arguments are IN arguments, this field will be null. @@ -5889,7 +5889,7 @@ SCRAM-SHA-256$<iteration count>:&l proargmodes char[] - An array with the modes of the function arguments, encoded as + An array of the modes of the function arguments, encoded as i for IN arguments, o for OUT arguments, b for INOUT arguments, @@ -5907,7 +5907,7 @@ SCRAM-SHA-256$<iteration count>:&l proargnames text[] - An array with the names of the function arguments. + An array of the names of the function arguments. Arguments without a name are set to empty strings in the array. If none of the arguments have a name, this field will be null. Note that subscripts correspond to positions of @@ -5932,9 +5932,12 @@ SCRAM-SHA-256$<iteration count>:&l protrftypes oid[] + (references pg_type.oid) - Data type OIDs for which to apply transforms. + An array of the argument/result data type(s) for which to apply + transforms (from the function's TRANSFORM + clause). Null if none.