Ken Corey <ken@kencorey.com> writes:
> Drat! Thought this wa identified...but sure enough it's still causing troubles. Will report shortly.
Do you mean your previous description was incorrect, or that it is
correct but there are more squirrelies besides that one? If what you
said was correct as far as it went, then we do have a bug to fix,
I think. plpgsql should either work or generate a reasonable error
message when the actual parameter length exceeds the declared length
of the formal parameter.
Right offhand, I would have said that the declared length of a function
parameter would be completely ignored, but perhaps I am mistaken ...
regards, tom lane