Search Postgresql Archives

User defined functions in Postgresql, troubles with the c code

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

 



Hi,
I'm searching somebody who has experience with C user defined functions in PostgreSQL.

Testing out a simple program which includes the postgres.h file does not work and gives me the following error code in Eclipse.

C:\Program Files\PostgreSQL\10\include\server/c.h:99:21: fatal error: libintl.h: No such file or directory

I wrote the following source: 

#include <stdio.h>
#include <stdlib.h>
#include "postgres.h"
//#include "fmgr.h"

int main(void) {
      puts("Hello World");
      return EXIT_SUCCESS;
}

Should I include the linbintl.h file in the source code or what should I Do?


[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