Обсуждение: how to split coordinates from point

Поиск
Список
Период
Сортировка

how to split coordinates from point

От
Alexander Kuprijanov
Дата:
Hi

How to get X and Y coordinates from point(X,Y)?

I need only X from (X,Y)


Thanks in advance


Re: how to split coordinates from point

От
Tom Lane
Дата:
Alexander Kuprijanov <sanya-spb@list.ru> writes:
> How to get X and Y coordinates from point(X,Y)?

Subscript it.  See the next-to-last para on
http://www.postgresql.org/docs/8.3/static/functions-geometry.html

            regards, tom lane