shihao zhong <zhong950419(at)gmail(dot)com> writes:
> One small thing in 0002. A single OUT void parameter worked before
> and is now rejected. RETURNS TABLE(v void) is the same.
I'm pretty skeptical that anyone ever wrote this, or that we should
consider it a supported thing to do, so I'm inclined to leave the
patch as-is. RETURNS VOID is supposed to mean "no interesting
return value", but the two syntaxes you sketch treat it as a regular
data type, which is not a thing we should encourage.
regards, tom lane