Skip to content

Commit 951862e

Browse files
committed
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
1 parent ecc4b13 commit 951862e

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

doc/src/sgml/catalogs.sgml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5874,7 +5874,7 @@ SCRAM-SHA-256$<replaceable>&lt;iteration count&gt;</replaceable>:<replaceable>&l
58745874
(references <link linkend="catalog-pg-type"><structname>pg_type</structname></link>.<structfield>oid</structfield>)
58755875
</para>
58765876
<para>
5877-
An array with the data types of the function arguments. This includes
5877+
An array of the data types of the function arguments. This includes
58785878
only input arguments (including <literal>INOUT</literal> and
58795879
<literal>VARIADIC</literal> arguments), as well as
58805880
<literal>OUT</literal> parameters of procedures, and thus represents
@@ -5888,7 +5888,7 @@ SCRAM-SHA-256$<replaceable>&lt;iteration count&gt;</replaceable>:<replaceable>&l
58885888
(references <link linkend="catalog-pg-type"><structname>pg_type</structname></link>.<structfield>oid</structfield>)
58895889
</para>
58905890
<para>
5891-
An array with the data types of the function arguments. This includes
5891+
An array of the data types of the function arguments. This includes
58925892
all arguments (including <literal>OUT</literal> and
58935893
<literal>INOUT</literal> arguments); however, if all the
58945894
arguments are <literal>IN</literal> arguments, this field will be null.
@@ -5902,7 +5902,7 @@ SCRAM-SHA-256$<replaceable>&lt;iteration count&gt;</replaceable>:<replaceable>&l
59025902
<structfield>proargmodes</structfield> <type>char[]</type>
59035903
</para>
59045904
<para>
5905-
An array with the modes of the function arguments, encoded as
5905+
An array of the modes of the function arguments, encoded as
59065906
<literal>i</literal> for <literal>IN</literal> arguments,
59075907
<literal>o</literal> for <literal>OUT</literal> arguments,
59085908
<literal>b</literal> for <literal>INOUT</literal> arguments,
@@ -5920,7 +5920,7 @@ SCRAM-SHA-256$<replaceable>&lt;iteration count&gt;</replaceable>:<replaceable>&l
59205920
<structfield>proargnames</structfield> <type>text[]</type>
59215921
</para>
59225922
<para>
5923-
An array with the names of the function arguments.
5923+
An array of the names of the function arguments.
59245924
Arguments without a name are set to empty strings in the array.
59255925
If none of the arguments have a name, this field will be null.
59265926
Note that subscripts correspond to positions of
@@ -5945,9 +5945,12 @@ SCRAM-SHA-256$<replaceable>&lt;iteration count&gt;</replaceable>:<replaceable>&l
59455945
<row>
59465946
<entry role="catalog_table_entry"><para role="column_definition">
59475947
<structfield>protrftypes</structfield> <type>oid[]</type>
5948+
(references <link linkend="catalog-pg-type"><structname>pg_type</structname></link>.<structfield>oid</structfield>)
59485949
</para>
59495950
<para>
5950-
Data type OIDs for which to apply transforms.
5951+
An array of the argument/result data type(s) for which to apply
5952+
transforms (from the function's <literal>TRANSFORM</literal>
5953+
clause). Null if none.
59515954
</para></entry>
59525955
</row>
59535956

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy