"Jatinder Sangha" <Jatinder@sanghaservices.co.uk> writes:
> I'm having trouble passing a composite variable to a function.
AFAIK, plpgsql doesn't support this --- it doesn't have any way to pass
a row or record variable as a parameter to the main executor. Possibly
this will get fixed someday; I don't know of anyone working on it now
though.
regards, tom lane