pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Donald Fraser <demolish@cwgsy.net>
Cc: [ADMIN] <pgsql-admin@postgresql.org>
Subject: Re: Updgrade from 7.3 to 7.4
Date: Thu, 15 Apr 2004 00:21:14 -0400
Message-ID: <11791.1082002874@sss.pgh.pa.us> (raw)
In-Reply-To: <006701c42223$2dfe5960$1664a8c0@DEMOLITION>
References: <006701c42223$2dfe5960$1664a8c0@DEMOLITION>

"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



view thread (3+ messages)  latest in thread

Message-ID: <11791.1082002874@sss.pgh.pa.us>
Permalink:  ../11791.1082002874@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/11791.1082002874@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: tgl@sss.pgh.pa.us, demolish@cwgsy.net
  Subject: Re: Updgrade from 7.3 to 7.4
  In-Reply-To: <11791.1082002874@sss.pgh.pa.us>
  References: <006701c42223$2dfe5960$1664a8c0@DEMOLITION> <11791.1082002874@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox