Re: Array function - Mailing list pgsql-docs

From Tom Lane
Subject Re: Array function
Date
Msg-id 4282.1099280447@sss.pgh.pa.us
Whole thread Raw
In response to Array function  (David Fetter <david@fetter.org>)
Responses Re: Array function
List pgsql-docs
David Fetter <david@fetter.org> writes:
> Here's a little addition to the array functions & operators section of
> the manual.  It adds a function array() to the list.

The ARRAY() construct isn't really a function; it is a special syntax
documented in Array Constructors,
http://developer.postgresql.org/docs/postgres/sql-expressions.html#SQL-SYNTAX-ARRAY-CONSTRUCTORS

The addition you propose is misleading, because it would lead people to
expect to find array() in the output of \df, for example.  It might be
reasonable to put in some kind of "see also" cross-reference in the
array functions section, but we shouldn't list array() as though it were
just like every other function in the section.

            regards, tom lane

pgsql-docs by date:

Previous
From: Alvaro Herrera Munoz
Date:
Subject: Re: Translators wanted for 8.0 Release
Next
From: David Fetter
Date:
Subject: Re: Array function