Re: C-functions using SPI Missing Magic Block Error

Поиск
Список
Период
Сортировка
От Saitenheini@web.de
Тема Re: C-functions using SPI Missing Magic Block Error
Дата
Msg-id 288135423.1351814.1278084963962.JavaMail.fmail@mwmweb050
обсуждение исходный текст
Ответ на Re: C-functions using SPI Missing Magic Block Error  (Joe Conway <mail@joeconway.com>)
Ответы Re: C-functions using SPI Missing Magic Block Error  (Joe Conway <mail@joeconway.com>)
Список pgsql-general
Thanks, I've already tried that. I doesn't make any difference. Still the same error.

in  Visual C++  I can't even compile it, although I set all links and compiler directories like it was told in this
post:
http://www.postgresql.org/docs/8.2/interactive/xfunc-c.html

I don't have more ideas.
What could I do?

>On 07/02/2010 08:13 AM, Saitenheini@web.de wrote:
>> Thanks for reply Tom!
>>
>> I've tried several version:
>>
>> #define _USE_32BIT_TIME_T
>>
>> #include "postgres.h"
>> #include "fmgr.h"
>> #include "executor\spi.h"
>>
>> /*
>> #ifdef PG_MODULE_MAGIC
>> PG_MODULE_MAGIC;
>> #endif
>> */
>
>> but still the same error occurs.
>
>You commented out
>
>   PG_MODULE_MAGIC;
>
> -- don't do that. Just remove the #ifdef around it.
>
>HTH,
>
>Joe
>
___________________________________________________________
WEB.DE DSL ab 19,99 Euro/Monat. Bis zu 150,- Euro Startguthaben und
50,- Euro Geldprämie inklusive! https://freundschaftswerbung.web.de

Вложения

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

Предыдущее
От: Chris Browne
Дата:
Сообщение: Re: Scheduling backup
Следующее
От: Joe Conway
Дата:
Сообщение: Re: C-functions using SPI Missing Magic Block Error