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

2007-02-19 Thread Bruce Momjian
Tom Lane wrote: > Bruce Momjian <[EMAIL PROTECTED]> 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 T

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

2007-01-30 Thread Tom Lane
Bruce Momjian <[EMAIL PROTECTED]> writes: > Tom Lane wrote: >> This is not a bug, this is a definitional disagreement, and your TODO >> entry presupposes an answer that I don't particularly agree with. > Well, our documentation suggests thaat [1] is the same as [1:1]: > http://www.postgresql

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

2007-01-30 Thread Bruce Momjian
Tom Lane wrote: > Bruce Momjian <[EMAIL PROTECTED]> 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 T

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

2007-01-30 Thread Tom Lane
Bruce Momjian <[EMAIL PROTECTED]> 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 ans

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

2007-01-30 Thread Bruce Momjian
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 onli

[BUGS] BUG #2913: Subscript on multidimensional array yields no value

2007-01-19 Thread Roman Nowak
The following bug has been logged online: Bug reference: 2913 Logged by: Roman Nowak Email address: [EMAIL PROTECTED] PostgreSQL version: 8.2.1 Operating system: Windows XP Description:Subscript on multidimensional array yields no value Details: SELECT (ARRAY[[1,2],