summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Momjian2004-12-02 21:04:47 +0000
committerBruce Momjian2004-12-02 21:04:47 +0000
commit4af2ea329bd69b5bdc2c4fc33c7673ca944edec5 (patch)
tree72a98fa8e8901da2b82f8e65f0e5c7dc8c1e0120
parent020cf90900bef1f672a36d496178c62c50ecb97c (diff)
Add documention on ARRAY() function.
David Fetter
-rw-r--r--doc/src/sgml/func.sgml14
1 files changed, 13 insertions, 1 deletions
diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml
index a835af1b188..a13115f276c 100644
--- a/doc/src/sgml/func.sgml
+++ b/doc/src/sgml/func.sgml
@@ -1,5 +1,5 @@
<!--
-$PostgreSQL: pgsql/doc/src/sgml/func.sgml,v 1.227 2004/12/02 17:39:54 momjian Exp $
+$PostgreSQL: pgsql/doc/src/sgml/func.sgml,v 1.228 2004/12/02 21:04:47 momjian Exp $
PostgreSQL documentation
-->
@@ -6930,6 +6930,18 @@ SELECT NULLIF(value, '(none)') ...
</tbody>
</tgroup>
</table>
+ <note>
+ <para>
+ Although it is not strictly a function and does not appear in \df
+ in psql, <command>ARRAY()</command>, mentioned in <xref
+ linkend="sql-syntax-array-constructors"> acts much like a
+ <literal>table function</literal> (equivalently, a
+ <literal>set-returning function</literal> or a
+ <acronym>SRF</acronym>--see <xref linkend="queries-tablefunctions">)
+ which takes <type>anyarray</type> and returns a set of
+ <type>anyelement</type>.
+ </para>
+ </note>
</sect1>
<sect1 id="functions-aggregate">