Re: Updgrade from 7.3 to 7.4

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Updgrade from 7.3 to 7.4
Дата
Msg-id 11791.1082002874@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Updgrade from 7.3 to 7.4  ("Donald Fraser" <demolish@cwgsy.net>)
Список pgsql-admin
"Donald Fraser" <demolish@cwgsy.net> writes:
> 2) One of my queries does an ORDER BY on a column that is of type BOX.
> This query no longer runs and returns the following error message:
> ERROR:  could not identify an ordering operator for type box

What are you expecting that to do?  Boxes have no natural linear
ordering.

> my_box[0] returns a point and my_box[0][0] is not recognised (I tried various
> other forms but to no avail).

I think (my_box[0])[0] would work to get the lower x-coordinate, if
that's what you're after.

            regards, tom lane

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

Предыдущее
От: "Greg Sabino Mullane"
Дата:
Сообщение: Re: sequence value of the record just inserted.
Следующее
От: "Donald Fraser"
Дата:
Сообщение: Re: Updgrade from 7.3 to 7.4