| От | Matthew Peter |
|---|---|
| Тема | Re: plpgsql question |
| Дата | |
| Msg-id | 20060110034201.37205.qmail@web35204.mail.mud.yahoo.com обсуждение |
| Ответ на | Re: plpgsql question (Michael Fuhr <mike@fuhr.org>) |
| Список | pgsql-general |
Terminology point: you used the word "aggregate" but the functionya. my mistake.
below doesn't have an aggregate. Aggregates are functions that
operate on multiple rows, like count() and sum(); substr() doesn't
do that so it's not an aggregate.
1. Create a composite type with the desired columns, declare thek. this is where i was confused. this is exactly what i wanted/needed
function to return SETOF that type, and declare row to be of
that type.
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера