Re: BOX question.. - Mailing list pgsql-general

From Tom Lane
Subject Re: BOX question..
Date
Msg-id 5303.984258813@sss.pgh.pa.us
Whole thread Raw
In response to BOX question..  (Barry Stinson <bas@mail.loganfoundation.org>)
List pgsql-general
Barry Stinson <bas@loganfoundation.org> writes:
> The documentation states that the BOX data-type stores
> the information as (1st) lower-left corner and (2nd)
> upper-right corner.
> Wouldn't that be the opposite? Lower right, then upper
> left? Is this just a bug in the documentation?

The code clearly stores the 'high' corner first, then the 'low' corner.

If we weren't just about to make a release, I'd be tempted to change
the code to match the documentation, since low-first would seem like
the obvious representation.  But I suppose we'd better do the
conservative thing and change the docs ...

            regards, tom lane

pgsql-general by date:

Previous
From: Barry Stinson
Date:
Subject: BOX question..
Next
From: Dan McGrath
Date:
Subject: Anyone can create tables!