Received: from localhost (maia-5.hub.org [200.46.204.182]) by postgresql.org (Postfix) with ESMTP id CBB3E9FB434 for ; Tue, 30 Jan 2007 20:19:28 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.182]) (amavisd-new, port 10024) with ESMTP id 29034-09 for ; Tue, 30 Jan 2007 20:19:10 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id B3C599FB433 for ; Tue, 30 Jan 2007 20:19:14 -0400 (AST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.6/8.13.6) with ESMTP id l0V0JBxA013672; Tue, 30 Jan 2007 19:19:11 -0500 (EST) To: Bruce Momjian cc: Roman Nowak , pgsql-bugs@postgresql.org Subject: Re: BUG #2913: Subscript on multidimensional array yields no value In-reply-to: <200701302250.l0UMoQo00894@momjian.us> References: <200701302250.l0UMoQo00894@momjian.us> Comments: In-reply-to Bruce Momjian message dated "Tue, 30 Jan 2007 17:50:26 -0500" Date: Tue, 30 Jan 2007 19:19:11 -0500 Message-ID: <13671.1170202751@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200701/174 X-Sequence-Number: 16791 Bruce Momjian 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