X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id B4DC7D1B8A9 for ; Thu, 28 Aug 2003 17:11:56 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (neptune.hub.org [64.117.224.130]) (amavisd-new, port 10024) with ESMTP id 50109-09 for ; Thu, 28 Aug 2003 14:11:25 -0300 (ADT) Received: from gsy_sbs_1.cisx.com (unknown [213.133.202.58]) by svr1.postgresql.org (Postfix) with ESMTP id 75E1CD1B8B3 for ; Thu, 28 Aug 2003 14:11:24 -0300 (ADT) Received: from DEMOLITION ([192.168.100.22]) by gsy_sbs_1.cisx.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2650.21) id RZJ5Y4AQ; Thu, 28 Aug 2003 18:01:46 +0100 Message-ID: <00fb01c36d87$83880d50$1664a8c0@DEMOLITION> From: "Donald Fraser" To: "[ADMIN]" References: <00f001c36d83$11ee0220$1664a8c0@DEMOLITION> <28049.1062089706@sss.pgh.pa.us> Subject: Re: Extracting single coordinate from a box Date: Thu, 28 Aug 2003 18:12:03 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4927.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4927.1200 X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200308/341 X-Sequence-Number: 10061 Thanks for the quick response. ----- Original Message ----- > "Donald Fraser" writes: > > But when I try something like b[0][0] the passer ignores the second array > > subscript parameter and returns only a "point". > You need the extra parentheses because the two subscript operations need > to work on fundamentally different datatypes --- if you write f1[1][0] > you are asking to subscript a 2-D array which this isn't. > > [ experiments further ... ] Drat, seems that syntax works in 7.4 but > not 7.3. Dunno if that will help you. I'm using 7.3.4 at the moment and I tried the scenario of using parentheses, which didn't work. I wrote a function in the end to extract it, but it would have been more elegant without it :-( Thanks again Donald