Re: Updgrade from 7.3 to 7.4 - Mailing list pgsql-admin

From Tom Lane
Subject Re: Updgrade from 7.3 to 7.4
Date
Msg-id 11791.1082002874@sss.pgh.pa.us
Whole thread Raw
In response to Updgrade from 7.3 to 7.4  ("Donald Fraser" <demolish@cwgsy.net>)
List 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 by date:

Previous
From: "Greg Sabino Mullane"
Date:
Subject: Re: sequence value of the record just inserted.
Next
From: "Donald Fraser"
Date:
Subject: Re: Updgrade from 7.3 to 7.4