Re: [PERFORM] Missing block Magic

2012-06-05 Thread Alejandro Carrillo
I restart and doesn't work. :( Please help me! > > De: Tom Lane >Para: Alejandro Carrillo >CC: "pgsql-performance@postgresql.org" >Enviado: Martes 5 de junio de 2012 12:00 >Asunto: Re: [PERFORM] Missing block Magi

Re: [PERFORM] Missing block Magic

2012-06-05 Thread Tom Lane
Alejandro Carrillo writes: > ERROR:  biblioteca «C:\Documents and > Settings\Administrador\Escritorio\test\test.dll» incompatible: no se > encuentra el bloque mágico > HINT:  Se requiere que las bibliotecas de extensión usen la macro > PG_MODULE_MAGIC. [ scratches head ... ] Your source code

[PERFORM] Missing block Magic

2012-06-05 Thread Alejandro Carrillo
Hi, I want to make a function in C for postgresql, this is the code: #define _USE_32BIT_TIME_T #define BUILDING_DLL 1 #include "postgres.h" #include "fmgr.h" #include "executor\spi.h" /* SPI - Server Programming Interface */ #if defined(_MSC_VER) || defined(__MINGW32__) #define PG_GETINF_EXPOR