Lonni J Friedman <netllama(at)gmail(dot)com> writes:
> ... Now I've got the
> opposite problem, namely that I can't find a way to have my function
> not return anything at all. Whenever I try to remove the 'RETURN AS
> ....' portion of the function, it fails to get created. Is it not
> possible to have a function that returns nothing?
Declare it as RETURNS VOID. This is really just window dressing, as
the actual behavior is to return a null value, but it documents your
intention.
regards, tom lane