"vivek K." <vivek10@hotmail.com> writes:
> while i was executing a trigger for insert into a table , I go this
> error :
> ERROR: Load of file /usr/local/pgsql/lib/plpgsql.so failed:
> /usr/local/pgsql/lib/plpgsql.so: undefined symbol: SPI_lastoid
This suggests a version mismatch, specifically that the plpgsql.so
library is for a newer version of Postgres than the server you are
running. (Checking back, it appears that SPI_lastoid was added to
the backend in 7.1.)
regards, tom lane