"tomek" <tomek(at)fullopcja(dot)hopto(dot)org> writes:
> I was trying to install libpgxml addon with 8.1.0 distribution. Afer hours
> of searching i've discovered that libxml is trying to call (or is linked) to
> function MemoryContextSwitchTo witch should be in postgres.exe.
You need to recompile libpgxml, apparently.
It's never a good idea to try to use an add-on with a different major
version of Postgres than it was originally built for.
regards, tom lane