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

From: "Harpreet Dhaliwal" <harpreet(dot)dhaliwal01(at)gmail(dot)com>
To: "Martijn van Oosterhout" <kleptog(at)svana(dot)org>, pgsql-general(at)postgresql(dot)org
Subject: Re: #include "executor/spi.h" throwing errors
Date: 2006-08-30 08:14:20
Message-ID: d86a77ef0608300114y347be241q8813bb0ecc561f2a@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Did not understand about capital L and small L.
What should i be using, capital or small.

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

and it still says executor/spi.h doesn't exist.

On 8/30/06, Martijn van Oosterhout <kleptog(at)svana(dot)org> wrote:
>
> 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(at)svana(dot)org> http://svana.org/kleptog/
> > From each according to his ability. To each according to his ability to
> litigate.
>
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.1 (GNU/Linux)
>
> iD8DBQFE9UXOIB7bNG8LQkwRAvCmAKCHbkjgjiQWKOGTRhpNAvPWNiDaCACgkJzJ
> Zn1eVoDmB4AwDf0gzjlMENQ=
> =31fE
> -----END PGP SIGNATURE-----
>
>
>

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Martijn van Oosterhout 2006-08-30 08:22:41 Re: #include "executor/spi.h" throwing errors
Previous Message Martijn van Oosterhout 2006-08-30 08:01:18 Re: #include "executor/spi.h" throwing errors