Re: BOX question..

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BOX question..
Дата
Msg-id 5303.984258813@sss.pgh.pa.us
обсуждение исходный текст
Ответ на BOX question..  (Barry Stinson <bas@mail.loganfoundation.org>)
Список 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 по дате отправления:

Предыдущее
От: Barry Stinson
Дата:
Сообщение: BOX question..
Следующее
От: Dan McGrath
Дата:
Сообщение: Anyone can create tables!