BOX question..

Поиск
Список
Период
Сортировка
От Barry Stinson
Тема BOX question..
Дата
Msg-id Pine.LNX.4.21.0103100238520.23971-100000@loganfoundation.org
обсуждение исходный текст
Ответы Re: BOX question..  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
Hey guys:

I've searched google and postgresql.org but havent found
an answer to this:

The documentation states that the BOX data-type stores
the information as (1st) lower-left corner and (2nd)
upper-right corner.

However, when I try to insert a BOX pair, I get the
reverse. ie...

---------------------------------------------
     insert into test values ('(1,1),(10,10)');
     select * from test;

        thebox
     ------------
     (10,10),(1,1)
---------------------------------------------

(This is on ver 7.02, incidentally)

Wouldn't that be the opposite? Lower right, then upper
left? Is this just a bug in the documentation?

--Thanks
--Barry Stinson


В списке pgsql-general по дате отправления:

Предыдущее
От: "Christian Marschalek"
Дата:
Сообщение: Money...
Следующее
От: Tom Lane
Дата:
Сообщение: Re: BOX question..