public inbox for [email protected]  
help / color / mirror / Atom feed
From: David Fetter <[email protected]>
To: Peter Eisentraut <[email protected]>
Cc: Tom Lane <[email protected]>
Cc: PostgreSQL Docs <[email protected]>
Subject: Re: Array function
Date: Mon, 1 Nov 2004 12:21:53 -0800
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>
	<[email protected]>
	<[email protected]>
	<[email protected]>

On Mon, Nov 01, 2004 at 08:47:05PM +0100, Peter Eisentraut wrote:
> David Fetter wrote:
> > Please find attached a different diff :)
> 
> If you want to write a note, use the <note> element.

Thanks for the tip :)

Fixed, attaching a diff against CVS HEAD.

Cheers,
D
-- 
David Fetter [email protected] http://fetter.org/
phone: +1 510 893 6100   mobile: +1 415 235 3778

Remember to vote!

Index: doc/src/sgml/func.sgml
===================================================================
RCS file: /projects/cvsroot/pgsql/doc/src/sgml/func.sgml,v
retrieving revision 1.221
diff -u -r1.221 func.sgml
--- doc/src/sgml/func.sgml	26 Oct 2004 22:16:11 -0000	1.221
+++ doc/src/sgml/func.sgml	1 Nov 2004 20:21:02 -0000
@@ -6931,6 +6931,18 @@
       </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">


Attachments:

  [text/plain] array.diff (949B, 2-array.diff)
  download | inline diff:
Index: doc/src/sgml/func.sgml
===================================================================
RCS file: /projects/cvsroot/pgsql/doc/src/sgml/func.sgml,v
retrieving revision 1.221
diff -u -r1.221 func.sgml
--- doc/src/sgml/func.sgml	26 Oct 2004 22:16:11 -0000	1.221
+++ doc/src/sgml/func.sgml	1 Nov 2004 20:21:02 -0000
@@ -6931,6 +6931,18 @@
       </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">


view thread (13+ messages)  latest in thread

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected], [email protected]
  Subject: Re: Array function
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox