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 CC46AD1B8B1 for ; Thu, 28 Aug 2003 16:40:08 +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 46893-09 for ; Thu, 28 Aug 2003 13:39:38 -0300 (ADT) Received: from gsy_sbs_1.cisx.com (unknown [213.133.202.58]) by svr1.postgresql.org (Postfix) with ESMTP id 79227D1B8A4 for ; Thu, 28 Aug 2003 13:39:36 -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 RZJ5Y4A3; Thu, 28 Aug 2003 17:29:57 +0100 Message-ID: <00f001c36d83$11ee0220$1664a8c0@DEMOLITION> From: "Donald Fraser" To: "[ADMIN]" Subject: Extracting single coordinate from a box Date: Thu, 28 Aug 2003 17:40:15 +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-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200308/339 X-Sequence-Number: 10059 I'm wondering if anyone knows how to extract a single co-ordinate from the data type "box". I know that I can access a single co-ordinate from a "point" using the array notation: p[0] or p[1] where p is of type "point". I can extract a single "point" from a "box" with b[0] or b[1] where b is of type "box". But when I try something like b[0][0] the passer ignores the second array subscript parameter and returns only a "point". Many thanks in advance, Donald Fraser.