| От | David G Johnston |
|---|---|
| Тема | Re: user aggregate with exception handling |
| Дата | |
| Msg-id | 1405088833441-5811289.post@n5.nabble.com обсуждение |
| Ответ на | user aggregate with exception handling ("j. z." <zbudniewkowo@interia.pl>) |
| Список | pgsql-novice |
j. z. wrote > Hi. I need to apply a postgis aggregate function. Since usual usage throws > errors, in case of error I need to use the aggregate function with another > argument to avoid an error > > How can I achieve the goal? You need to create a custom aggregate function. http://www.postgresql.org/docs/9.2/interactive/sql-createaggregate.html Which involves creating two normal functions ( though you can possibly leverage an existing final func ). David J. -- View this message in context: http://postgresql.1045698.n5.nabble.com/user-aggregate-with-exception-handling-tp5811279p5811289.html Sent from the PostgreSQL - novice mailing list archive at Nabble.com.
В списке pgsql-novice по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера