From: Bruce Momjian <bruce@momjian.us>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Roman Nowak <roman_nowak@poczta.onet.pl>
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #2913: Subscript on multidimensional array yields no value
Date: Tue, 30 Jan 2007 21:00:28 -0500 (EST)
Message-ID: <200701310200.l0V20Sd08345@momjian.us> (raw)
In-Reply-To: <13671.1170202751@sss.pgh.pa.us>
Tom Lane wrote:
> 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.
Well, our documentation suggests thaat [1] is the same as [1:1]:
http://www.postgresql.org/docs/8.2/static/arrays.html#AEN5791
What is the issue here that makes that not true?
--
Bruce Momjian bruce@momjian.us
EnterpriseDB http://www.enterprisedb.com
+ If your life is a hard drive, Christ can be your backup. +
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-docs@postgresql.org
Cc: bruce@momjian.us, tgl@sss.pgh.pa.us, roman_nowak@poczta.onet.pl, pgsql-bugs@postgresql.org
Subject: Re: BUG #2913: Subscript on multidimensional array yields no value
In-Reply-To: <200701310200.l0V20Sd08345@momjian.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox