#include "executor/spi.h" throwing errors

Поиск
Список
Период
Сортировка
От Harpreet Dhaliwal
Тема #include "executor/spi.h" throwing errors
Дата
Msg-id d86a77ef0608292316y494bc7c0we30ae5c82a29a431@mail.gmail.com
обсуждение исходный текст
Ответы Re: #include "executor/spi.h" throwing errors  (Martijn van Oosterhout <kleptog@svana.org>)
Список pgsql-general
Hi,
I'm trying to use SPI for database connectivity at the server side.

My database is intialized at /usr/local/pgsql/hps

spi.h is at the follwoing location

/usr/include/pgsql/server/executor.

I have a C file that has the SPI code and is located at /usr/local/pgsql/hps
I thin file i do #include "executor/spi.h"

This throws hell lot of errors (hundreds of them), even if i don't have any SPI code in my C file as of now.

Can anyone please tell me whats going wrong and what header files should be kept where?

Thanks in advance,

~Harpreet

В списке pgsql-general по дате отправления:

Предыдущее
От: "Jasbinder Bali"
Дата:
Сообщение: Re: Version 1 Calling convention
Следующее
От: Martijn van Oosterhout
Дата:
Сообщение: Re: #include "executor/spi.h" throwing errors