Re: BUG #2295: MemoryContextSwitchTo missing - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #2295: MemoryContextSwitchTo missing
Date
Msg-id 2957.1141313543@sss.pgh.pa.us
Whole thread Raw
In response to BUG #2295: MemoryContextSwitchTo missing  ("tomek" <tomek@fullopcja.hopto.org>)
List pgsql-bugs
"tomek" <tomek@fullopcja.hopto.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

pgsql-bugs by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: BUG #2295: MemoryContextSwitchTo missing
Next
From: Tom Lane
Date:
Subject: Re: BUG #2292: Calling conventions in docs