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

Re: BUG #2913: Subscript on multidimensional array yields no value

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Bruce Momjian <bruce(at)momjian(dot)us>
Cc: Roman Nowak <roman_nowak(at)poczta(dot)onet(dot)pl>, pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #2913: Subscript on multidimensional array yields no value
Date: 2007-01-31 00:19:11
Message-ID: 13671.1170202751@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-bugspgsql-docspgsql-patches
Bruce Momjian <bruce(at)momjian(dot)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

In response to

Responses

pgsql-docs by date

Next:From: Bruce MomjianDate: 2007-01-31 02:00:28
Subject: Re: BUG #2913: Subscript on multidimensional array yields no value
Previous:From: Bruce MomjianDate: 2007-01-30 22:50:26
Subject: Re: BUG #2913: Subscript on multidimensional array yields no value

pgsql-bugs by date

Next:From: Bruce MomjianDate: 2007-01-31 02:00:28
Subject: Re: BUG #2913: Subscript on multidimensional array yields no value
Previous:From: Bruce MomjianDate: 2007-01-30 22:50:26
Subject: Re: BUG #2913: Subscript on multidimensional array yields no value

pgsql-patches by date

Next:From: Bruce MomjianDate: 2007-01-31 02:00:28
Subject: Re: BUG #2913: Subscript on multidimensional array yields no value
Previous:From: Bruce MomjianDate: 2007-01-30 22:50:26
Subject: Re: BUG #2913: Subscript on multidimensional array yields no value

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