Re: user defined function

Поиск
Список
Период
Сортировка
От Thomas Hallgren
Тема Re: user defined function
Дата
Msg-id 43D675AC.60007@tada.se
обсуждение исходный текст
Ответ на Re: user defined function  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
For what it's worth, the next release of PL/Java has support for both RECORD parameters and
SETOF RECORD return types. The adventurous can try out the current CVS HEAD.

Regards,
Thomas Hallgren

Tom Lane wrote:
> Yl Zhou <andrew.ylzhou@gmail.com> writes:
>> I want to implement a UDF that can accept a parameter which is a tuple of
>> any table, and returns the number of NULL attributes in this tuple.
>> Different tables may have different schemas. How can I implement this
>> function?  Thanks.
>
> You could do that in C, but none of the available PLs support it.
>
>             regards, tom lane
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: Don't 'kill -9' the postmaster
>


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

Предыдущее
От: MargaretGillon@chromalloy.com
Дата:
Сообщение: Constraint that compares and limits field values
Следующее
От: Yl Zhou
Дата:
Сообщение: Re: user defined function