Re: #include "executor/spi.h" throwing errors

Поиск
Список
Период
Сортировка
От Martijn van Oosterhout
Тема Re: #include "executor/spi.h" throwing errors
Дата
Msg-id 20060830080118.GE13929@svana.org
обсуждение исходный текст
Ответ на Re: #include "executor/spi.h" throwing errors  ("Harpreet Dhaliwal" <harpreet.dhaliwal01@gmail.com>)
Ответы Re: #include "executor/spi.h" throwing errors  ("Harpreet Dhaliwal" <harpreet.dhaliwal01@gmail.com>)
Список pgsql-general
On Wed, Aug 30, 2006 at 03:53:13AM -0400, Harpreet Dhaliwal wrote:
> Also,
> Can you please email me ur directory structure, as in, absolute path
> of a.cand absolute path of
> spi.h.

The absolute path of a.c is the irrelevent, it's in the current
directory. executor/spi.h is in /usr/include/postgresql/server.

BTW, in your sample output you have -l (lowercase L), why? If it were -I
(capital I) I could understand.

The directory structure is simply the normal one.

gcc -I `pg_config --includedir-server` a.c

will aso work.
--
Martijn van Oosterhout   <kleptog@svana.org>   http://svana.org/kleptog/
> From each according to his ability. To each according to his ability to litigate.

Вложения

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

Предыдущее
От: "Harpreet Dhaliwal"
Дата:
Сообщение: Re: #include "executor/spi.h" throwing errors
Следующее
От: "Harpreet Dhaliwal"
Дата:
Сообщение: Re: #include "executor/spi.h" throwing errors