From: | Bruce Momjian <bruce(at)momjian(dot)us> |
---|---|
To: | Roman Nowak <roman_nowak(at)poczta(dot)onet(dot)pl> |
Cc: | pgsql-bugs(at)postgresql(dot)org |
Subject: | Re: BUG #2913: Subscript on multidimensional array yields no value |
Date: | 2007-01-30 22:50:26 |
Message-ID: | 200701302250.l0UMoQo00894@momjian.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs pgsql-docs pgsql-patches |
I can confirm this is a bug. Added to the TODO list:
o ARRAY[[1,2],[3,4]])[1] should return the same values as
ARRAY[[1,2],[3,4]])[1:1];
---------------------------------------------------------------------------
Roman Nowak wrote:
>
> The following bug has been logged online:
>
> Bug reference: 2913
> Logged by: Roman Nowak
> Email address: roman_nowak(at)poczta(dot)onet(dot)pl
> PostgreSQL version: 8.2.1
> Operating system: Windows XP
> Description: Subscript on multidimensional array yields no value
> Details:
>
> SELECT (ARRAY[[1,2],[3,4]])[1];
>
> does not return [1,2]
> (testes in psql and pgAdmin III): show info that one row was returned but
> does not display its value
>
> following statment works OK btw
> SELECT (ARRAY[[1,2],[3,4]])[1:1];
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: if posting/reading through Usenet, please send an appropriate
> subscribe-nomail command to majordomo(at)postgresql(dot)org so that your
> message can get through to the mailing list cleanly
--
Bruce Momjian bruce(at)momjian(dot)us
EnterpriseDB http://www.enterprisedb.com
+ If your life is a hard drive, Christ can be your backup. +
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2007-01-31 00:19:11 | Re: BUG #2913: Subscript on multidimensional array yields no value |
Previous Message | Tom Lane | 2007-01-30 22:08:12 | Re: BUG #2945: possibly forgotten SPI_push()/SPI_pop() |
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2007-01-31 00:19:11 | Re: BUG #2913: Subscript on multidimensional array yields no value |
Previous Message | Guillaume Lelarge | 2007-01-30 20:35:27 | Re: "May", "can", "might" |
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2007-01-31 00:19:11 | Re: BUG #2913: Subscript on multidimensional array yields no value |
Previous Message | Simon Riggs | 2007-01-30 20:45:00 | Re: Lock compatibility matrix |