Joseph Shraibman <jks@selectacast.net> writes:
> No, this is 7.0.3. Look in my pervious message where I did a version().
Yes, that proves that your core backend is 7.0.3. However, the spelling
of the error message proves that your plpgsql shlib is NOT 7.0.3. It
might well be 6.5 or even older.
regards, tom lane