New function: area(PATH)...

Поиск
Список
Период
Сортировка
От Sean Chittenden
Тема New function: area(PATH)...
Дата
Msg-id AEBBC87B-A84A-11D8-85E3-000A95C705DC@chittenden.org
обсуждение исходный текст
Список pgsql-patches
Attached is a patch that includes the ability to get the area of a
closed path.  If the path isn't closed, area() returns NULL.

test=> SELECT p, area(p) from t;
                     p                     | area
------------------------------------------+------
  ((0,0),(1,0),(1,1),(2,1),(2,2),(0,2))    |    3
(1 row)

I haven't teased out the inet_client_addr() patch out of my public
development repo, so that's included as well.  No document changes
included because the description of the area() function args is a vague
and all encompassing "object".  -sc



--
Sean Chittenden

Вложения

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

Предыдущее
От: "Magnus Hagander"
Дата:
Сообщение: Timezone code, one more try
Следующее
От: Christopher Kings-Lynne
Дата:
Сообщение: Re: new aggregate functions v1