Re: A bug or documentation error?

From: "Gurjeet Singh" <singh(dot)gurjeet(at)gmail(dot)com>
To: "PGSQL Bugs" <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: A bug or documentation error?
Date: 2006-11-22 04:52:26
Message-ID: 65937bea0611212052x4cd00934j1133d20795ea04b7@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(dot)gurjeet(at){ gmail | hotmail | yahoo }.com

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2006-11-22 05:00:57 Re: A bug or documentation error?
Previous Message Gurjeet Singh 2006-11-22 04:47:10 Re: A bug or documentation error?