Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-bugs by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group