compile el ejemplo que estaba add_one y funciono perfectamente ahora hice otra
funcion para compilarla pero estoy consiguiendo este mensaje de error
pg_mac.c:16: warning: no previous prototype for 'strpos'
pg_mac.c:27: warning: no previous prototype for 'pg_serverid'
C:\Program Files\PostgreSQL\8.3\share\exte_c>C:\mingw\bin\gcc -shared -o
pg_mac.dll pg_mac.o
pg_mac.o:pg_mac.c:(.text+0x89): undefined reference to
`_imp__CurrentMemoryContext'
pg_mac.o:pg_mac.c:(.text+0x93): undefined reference to `MemoryContextAlloc'
pg_mac.o:pg_mac.c:(.text+0xba): undefined reference to `pgwin32_fopen'
collect2: ld returned 1 exit status
C:\Program Files\PostgreSQL\8.3\share\exte_c>
*-------------------------------------------------------*
*-Edwin Quijada
*-Developer DataBase
*-JQ Microsistemas
*-Soporte PostgreSQL
*-www.jqmicrosistemas.com
*-809-849-8087
*-------------------------------------------------------*