Extracting single coordinate from a box

Поиск
Список
Период
Сортировка
От Donald Fraser
Тема Extracting single coordinate from a box
Дата
Msg-id 00f001c36d83$11ee0220$1664a8c0@DEMOLITION
обсуждение исходный текст
Ответы Re: Extracting single coordinate from a box  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-admin
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.


В списке pgsql-admin по дате отправления:

Предыдущее
От: Murthy Kambhampaty
Дата:
Сообщение: Logging VACUUM activity in version 7.3
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Extracting single coordinate from a box