Re: user defined function - Mailing list pgsql-general

From Tom Lane
Subject Re: user defined function
Date
Msg-id 18796.1138116632@sss.pgh.pa.us
Whole thread Raw
In response to user defined function  (Yl Zhou <andrew.ylzhou@gmail.com>)
Responses Re: user defined function
Re: user defined function
Re: user defined function
List 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 by date:

Previous
From: "Dave Page"
Date:
Subject: Re: Does this look ethical to you?
Next
From: Jimmy Rowe
Date:
Subject: