diff options
Diffstat (limited to 'doc/src/sgml/func.sgml')
-rw-r--r-- | doc/src/sgml/func.sgml | 20 |
1 files changed, 17 insertions, 3 deletions
diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml index 67500340b0f..23241c24697 100644 --- a/doc/src/sgml/func.sgml +++ b/doc/src/sgml/func.sgml @@ -1,4 +1,4 @@ -<!-- $PostgreSQL: pgsql/doc/src/sgml/func.sgml,v 1.460 2008/11/14 00:51:46 tgl Exp $ --> +<!-- $PostgreSQL: pgsql/doc/src/sgml/func.sgml,v 1.461 2008/12/04 17:51:26 petere Exp $ --> <chapter id="functions"> <title>Functions and Operators</title> @@ -11711,6 +11711,10 @@ SELECT pg_type_is_visible('myschema.widget'::regtype); </indexterm> <indexterm> + <primary>pg_get_function_identity_arguments</primary> + </indexterm> + + <indexterm> <primary>pg_get_function_result</primary> </indexterm> @@ -11799,7 +11803,12 @@ SELECT pg_type_is_visible('myschema.widget'::regtype); <row> <entry><literal><function>pg_get_function_arguments</function>(<parameter>func_oid</parameter>)</literal></entry> <entry><type>text</type></entry> - <entry>get argument list for function</entry> + <entry>get argument list of function's definition (with default values)</entry> + </row> + <row> + <entry><literal><function>pg_get_function_identity_arguments</function>(<parameter>func_oid</parameter>)</literal></entry> + <entry><type>text</type></entry> + <entry>get argument list to identify a function (without argument names, default values)</entry> </row> <row> <entry><literal><function>pg_get_function_result</function>(<parameter>func_oid</parameter>)</literal></entry> @@ -11920,7 +11929,12 @@ SELECT pg_type_is_visible('myschema.widget'::regtype); of a function, in the form it would need to appear in within <command>CREATE FUNCTION</>. <function>pg_get_function_result</function> similarly returns the - appropriate <literal>RETURNS</> clause for the function. + appropriate <literal>RETURNS</> clause for the function. + <function>pg_get_function_identity_arguments</function> returns the + argument list necessary to identify a function, in the form it + would need to appear in within <command>ALTER FUNCTION</>, for + instance. This form omits default values and argument names, for + example. </para> <para> |