Re: A bug or documentation error? - Mailing list pgsql-bugs

From Gurjeet Singh
Subject Re: A bug or documentation error?
Date
Msg-id 65937bea0611212052x4cd00934j1133d20795ea04b7@mail.gmail.com
Whole thread Raw
In response to A bug or documentation error?  ("Gurjeet Singh" <singh.gurjeet@gmail.com>)
Responses Re: A bug or documentation error?
List pgsql-bugs
Sorry, again, for an incomplete mail:

Hi all,

    On this page (
http://www.postgresql.org/docs/8.1/interactive/functions-array.html ), the
entry for array_lower() says:

Example:
  array_lower(array_prepend(0, ARRAY[1,2,3]), 1)
Result:
  0

But in this is the output that I am getting:

postgres=# select array_lower(array_prepend( 0, array[1,2,3] ), 1 );
 array_lower
-------------
           1
(1 row)

postgres=#

Is it a bug in array_lower, array or is it a doc error? I am on 8.2 Beta 1.

--
gurjeet[.singh]@ EnterpriseDB.com
singh.gurjeet@{ gmail | hotmail | yahoo }.com

pgsql-bugs by date:

Previous
From: "Gurjeet Singh"
Date:
Subject: A bug or documentation error?
Next
From: "Gurjeet Singh"
Date:
Subject: Re: A bug or documentation error?