Re: user defined function

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: user defined function
Дата
Msg-id 18796.1138116632@sss.pgh.pa.us
обсуждение исходный текст
Ответ на user defined function  (Yl Zhou <andrew.ylzhou@gmail.com>)
Ответы Re: user defined function  ("Gevik" <gevik@xs4all.nl>)
Re: user defined function  (Richard Huxton <dev@archonet.com>)
Re: user defined function  (Thomas Hallgren <thomas@tada.se>)
Список pgsql-general
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

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

Предыдущее
От: "Dave Page"
Дата:
Сообщение: Re: Does this look ethical to you?
Следующее
От: Jimmy Rowe
Дата:
Сообщение: