Search Postgresql Archives

Re: Recursive function that receives a list of IDs and returns all child IDs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



"Sven Haag" <sven-haag@xxxxxx> 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

-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux