Re: User defined functions in Postgresql, troubles with the c code
В списке pgsql-general по дате отправления:
| От | Adrian Klaver |
|---|---|
| Тема | Re: User defined functions in Postgresql, troubles with the c code |
| Дата | |
| Msg-id | fe632041-9d70-9460-eabd-cf6455e89096@aklaver.com обсуждение исходный текст |
| Ответ на | User defined functions in Postgresql, troubles with the c code (Christof Priller <christof_priller@hotmail.com>) |
| Список | pgsql-general |
On 05/05/2018 06:58 AM, Christof Priller wrote:
> 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?
I see you are on Windows.
How did you install Postgres?
>
--
Adrian Klaver
adrian.klaver@aklaver.com
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера