Re: #include "executor/spi.h" throwing errors - Mailing list pgsql-general

From Harpreet Dhaliwal
Subject Re: #include "executor/spi.h" throwing errors
Date
Msg-id d86a77ef0608300128u712d55cq648816cf0ab34c93@mail.gmail.com
Whole thread Raw
In response to Re: #include "executor/spi.h" throwing errors  (Martijn van Oosterhout <kleptog@svana.org>)
List pgsql-general
Problem was that i was using -L as in LEAMON, not I as in Indigo.
Its working now.
Martijn, thanks alot for your patience.
I realy don't know why was I doing -L, actually i was thinkin of linking something. HUH.
Had to include.

Thanks alot once again

~Harpreet

On 8/30/06, Martijn van Oosterhout <kleptog@svana.org > wrote:
On Wed, Aug 30, 2006 at 04:14:20AM -0400, Harpreet Dhaliwal wrote:
> Did not understand about capital L and small L.
> What should i be using, capital or small.

Please use a font that distinguishes between I and l. It's capital I
like in INDIGO. Not an L at all...

> I also tried
> gcc -I `pg_config --includedir-server` a.c
>
> and it still says executor/spi.h doesn't exist.

Then your setup is badly broken. "pg_config --includedir-server" should
point to the include directory of your postgres installation.

Have a nice day,
--
Martijn van Oosterhout   <kleptog@svana.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)

iD8DBQFE9UrRIB7bNG8LQkwRAskiAKCB8L4FUs5JfmaNalY/g4FetZjzqQCfWCwg
50juNfNEXM/nkIqH0EbmgOo=
=wbAT
-----END PGP SIGNATURE-----



pgsql-general by date:

Previous
From: Martijn van Oosterhout
Date:
Subject: Re: #include "executor/spi.h" throwing errors
Next
From: "Jasbinder Bali"
Date:
Subject: Re: Version 1 Calling convention