Issue
My Postgresql installation is working, but when I call a particular function I get an undefined symbol HeapTupleHeaderGetDatum, and plpgsql.so will not load.
This is going to be a Question and Answer, the reason for this Q&A is that the current answers here don't turn up in google search results and I hope this will help others
Solution
Restart the Postgresql database,
You've changed versions of postgresql and forgotten to restart.
This can be checked by running postgres --version from the host
$ postgres --version
postgres (PostgreSQL) 9.1.15
Vs. select version(); from the psql prompt:
pg=# select version();
version
PostgreSQL 9.1.12 on x86_64-suse-linux-gnu, compiled by ....
Answered By - MichaelStoner Answer Checked By - Marie Seifert (sql.easybugfix Admin)
Post a Comment
Post a Comment