From: Donald Fraser <demolish@cwgsy.net>
To: [ADMIN] <pgsql-admin@postgresql.org>
Subject: Extracting single coordinate from a box
Date: Thu, 28 Aug 2003 17:40:15 +0100
Message-ID: <00f001c36d83$11ee0220$1664a8c0@DEMOLITION> (raw)
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.
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: demolish@cwgsy.net
Subject: Re: Extracting single coordinate from a box
In-Reply-To: <00f001c36d83$11ee0220$1664a8c0@DEMOLITION>
References: <00f001c36d83$11ee0220$1664a8c0@DEMOLITION>
* 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