Re: BUG #2913: Subscript on multidimensional array yields no value - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #2913: Subscript on multidimensional array yields no value
Date
Msg-id 13671.1170202751@sss.pgh.pa.us
Whole thread Raw
In response to Re: BUG #2913: Subscript on multidimensional array yields no value  (Bruce Momjian <bruce@momjian.us>)
Responses Re: BUG #2913: Subscript on multidimensional array yields no value  (Bruce Momjian <bruce@momjian.us>)
Re: BUG #2913: Subscript on multidimensional array yields no value  (Bruce Momjian <bruce@momjian.us>)
List pgsql-bugs
Bruce Momjian <bruce@momjian.us> writes:
> 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];

This is not a bug, this is a definitional disagreement, and your TODO
entry presupposes an answer that I don't particularly agree with.

            regards, tom lane

pgsql-bugs by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: BUG #2913: Subscript on multidimensional array yields no value
Next
From: Bruce Momjian
Date:
Subject: Re: BUG #2913: Subscript on multidimensional array yields no value