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

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

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(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-02-20 03:47:23
Message-ID: 200702200347.l1K3lN521847@momjian.us (view raw or flat)
Thread:
Lists: pgsql-bugspgsql-docspgsql-patches
Tom Lane wrote:
> 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.

TODO item removed, now that I understand the array behavior.

-- 
  Bruce Momjian  <bruce(at)momjian(dot)us>          http://momjian.us
  EnterpriseDB                               http://www.enterprisedb.com

  + If your life is a hard drive, Christ can be your backup. +

In response to

pgsql-docs by date

Next:From: Bruce MomjianDate: 2007-02-20 14:49:00
Subject: Re: Password issue revisited
Previous:From: Bruce MomjianDate: 2007-02-20 03:46:35
Subject: Re: [BUGS] BUG #2913: Subscript on multidimensional array yields no value

pgsql-bugs by date

Next:From: Arjen van der MeijdenDate: 2007-02-20 06:42:17
Subject: Re: BUG #3031: PHP (and others?) cannot close a connection when "in" a COPY-statement
Previous:From: Bruce MomjianDate: 2007-02-20 03:46:35
Subject: Re: [BUGS] BUG #2913: Subscript on multidimensional array yields no value

pgsql-patches by date

Next:From: Bruce MomjianDate: 2007-02-20 03:49:27
Subject: Re: pgsql: Fix for plpython functions; return true/false for boolean,
Previous:From: Bruce MomjianDate: 2007-02-20 03:46:35
Subject: Re: [BUGS] BUG #2913: Subscript on multidimensional array yields no value

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