Re: How do I create a box from fields in a table?

Поиск
Список
Период
Сортировка
От Merlin Moncure
Тема Re: How do I create a box from fields in a table?
Дата
Msg-id CAHyXU0wddoTokemidPMJW7xXF2uPETQAC__LNcQUN_KGj5xabw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: How do I create a box from fields in a table?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
On Fri, Oct 18, 2013 at 10:05 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Rob Richardson <RDRichardson@rad-con.com> writes:
>> In my opinion, that is ugly to the point of uselessness.
>
> Indeed :-(
>
> For some reason, there's no constructor function to make a box from four
> floats.  But there is a box constructor that takes two points, as well
> as a point constructor that takes two floats; so you could do something
> like
>
>         box(point(location, 1), point(2, 3))


shoot -- I thought so -- I looked for that, and didn't find it.  hm,
perhaps the geographical type documentation needs some TLC.

merlin


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

Предыдущее
От: Helen Griffiths
Дата:
Сообщение: Cannot import logs from csv
Следующее
От: Adrian Klaver
Дата:
Сообщение: Re: Cannot import logs from csv