Skip to content

Commit 652f781

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 7632ef5 commit 652f781

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
@@ -5862,7 +5862,7 @@ SCRAM-SHA-256$<replaceable>&lt;iteration count&gt;</replaceable>:<replaceable>&l
58625862
(references <link linkend="catalog-pg-type"><structname>pg_type</structname></link>.<structfield>oid</structfield>)
58635863
</para>
58645864
<para>
5865-
An array with the data types of the function arguments. This includes
5865+
An array of the data types of the function arguments. This includes
58665866
only input arguments (including <literal>INOUT</literal> and
58675867
<literal>VARIADIC</literal> arguments), and thus represents
58685868
the call signature of the function.
@@ -5875,7 +5875,7 @@ SCRAM-SHA-256$<replaceable>&lt;iteration count&gt;</replaceable>:<replaceable>&l
58755875
(references <link linkend="catalog-pg-type"><structname>pg_type</structname></link>.<structfield>oid</structfield>)
58765876
</para>
58775877
<para>
5878-
An array with the data types of the function arguments. This includes
5878+
An array of the data types of the function arguments. This includes
58795879
all arguments (including <literal>OUT</literal> and
58805880
<literal>INOUT</literal> arguments); however, if all the
58815881
arguments are <literal>IN</literal> arguments, this field will be null.
@@ -5889,7 +5889,7 @@ SCRAM-SHA-256$<replaceable>&lt;iteration count&gt;</replaceable>:<replaceable>&l
58895889
<structfield>proargmodes</structfield> <type>char[]</type>
58905890
</para>
58915891
<para>
5892-
An array with the modes of the function arguments, encoded as
5892+
An array of the modes of the function arguments, encoded as
58935893
<literal>i</literal> for <literal>IN</literal> arguments,
58945894
<literal>o</literal> for <literal>OUT</literal> arguments,
58955895
<literal>b</literal> for <literal>INOUT</literal> arguments,
@@ -5907,7 +5907,7 @@ SCRAM-SHA-256$<replaceable>&lt;iteration count&gt;</replaceable>:<replaceable>&l
59075907
<structfield>proargnames</structfield> <type>text[]</type>
59085908
</para>
59095909
<para>
5910-
An array with the names of the function arguments.
5910+
An array of the names of the function arguments.
59115911
Arguments without a name are set to empty strings in the array.
59125912
If none of the arguments have a name, this field will be null.
59135913
Note that subscripts correspond to positions of
@@ -5932,9 +5932,12 @@ SCRAM-SHA-256$<replaceable>&lt;iteration count&gt;</replaceable>:<replaceable>&l
59325932
<row>
59335933
<entry role="catalog_table_entry"><para role="column_definition">
59345934
<structfield>protrftypes</structfield> <type>oid[]</type>
5935+
(references <link linkend="catalog-pg-type"><structname>pg_type</structname></link>.<structfield>oid</structfield>)
59355936
</para>
59365937
<para>
5937-
Data type OIDs for which to apply transforms.
5938+
An array of the argument/result data type(s) for which to apply
5939+
transforms (from the function's <literal>TRANSFORM</literal>
5940+
clause). Null if none.
59385941
</para></entry>
59395942
</row>
59405943

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