<cnliou@eurosport.com> writes:
> Because pl/pgsql accepts at most 16 parameters, I am
> trying to feed pl/pgsql function with the whole
> record as its parameter.
Looks like a bug to me :-(. Unfortunately, there's no time to do
anything about it for 7.2. In the meantime, the 16-parameter limit
is by no means graven in stone; perhaps you could cope for awhile
by recompiling with a larger FUNC_MAX_ARGS.
regards, tom lane