Search Postgresql Archives

Re: C-functions using SPI Missing Magic Block Error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 07/02/2010 08:13 AM, Saitenheini@xxxxxx 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

Attachment: signature.asc
Description: OpenPGP digital signature


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux