Hi Arthur,
It looks like the language 'plpgsql' hasn't been installed into your postgresql instance.
Did you do step 22 of Gilbert's postgresql installation instructions?
/usr/local/bin/createlang plpgsql template1
If so, were there any errors? You can do createlang -l template1
to see which languages have been successfully installed.