Re: Recursive function that receives a list of IDs and returns all child IDs
В списке pgsql-general по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: Recursive function that receives a list of IDs and returns all child IDs |
| Дата | |
| Msg-id | 29267.1300898562@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Recursive function that receives a list of IDs and returns all child IDs ("Sven Haag" <sven-haag@gmx.de>) |
| Ответы |
Re: Recursive function that receives a list of IDs and
returns all child IDs
Re: Recursive function that receives a list of IDs and returns all child IDs |
| Список | pgsql-general |
"Sven Haag" <sven-haag@gmx.de> writes:
> hello pgsql fans out there,
> i've already created a function that returns a list of IDs of all sub-samples based on a given sample ID. this works
fine.now i like to extend this function so that it can receive a list of sample IDs. e.g.:
> fn_get_subsamples(IN sample_numbers SETOF integer)
There's no such animal as a function that accepts a set. You could pass
it an array of integers instead. Or maybe just call it more than once.
regards, tom lane
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера