Re: BUG #2295: MemoryContextSwitchTo missing

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: BUG #2295: MemoryContextSwitchTo missing
Дата
Msg-id 200603021519.k22FJYs05375@candle.pha.pa.us
обсуждение исходный текст
Ответ на BUG #2295: MemoryContextSwitchTo missing  ("tomek" <tomek@fullopcja.hopto.org>)
Ответы Re: BUG #2295: MemoryContextSwitchTo missing
Список pgsql-bugs
tomek wrote:
>
> The following bug has been logged online:
>
> Bug reference:      2295
> Logged by:          tomek
> Email address:      tomek@fullopcja.hopto.org
> PostgreSQL version: 8.1.0.5309
> Operating system:   WIN XP
> Description:        MemoryContextSwitchTo missing
> Details:
>
> 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.
>
> This function was in previous versions of postgres.exe (eg 8.0.3....).
>
> Is it possible to implement-back this function in next release or rather we
> should wait for new release of libpgxml?

Uh, I see MemoryContextSwitchTo in 8.1.  I think the problem might be
that the function is not marked with DLLIMPORT for XP.  Can someone try
that and see if it fixes it?

--
  Bruce Momjian   http://candle.pha.pa.us
  SRA OSS, Inc.   http://www.sraoss.com

  + If your life is a hard drive, Christ can be your backup. +

В списке pgsql-bugs по дате отправления:

Предыдущее
От: "Jim Fitzgerald"
Дата:
Сообщение: Re: BUG #2294: SPI_connect() fails in trigger when a Foreignkey constraint exists on same table as trigger.
Следующее
От: Tom Lane
Дата:
Сообщение: Re: BUG #2295: MemoryContextSwitchTo missing