"Donald Fraser" <[EMAIL PROTECTED]> 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

---------------------------(end of broadcast)---------------------------
TIP 9: the planner will ignore your desire to choose an index scan if your
      joining column's datatypes do not match

Reply via email to