From: | "Jasbinder Bali" <jsbali(at)gmail(dot)com> |
---|---|
To: | "Martijn van Oosterhout" <kleptog(at)svana(dot)org>, pgsql-general(at)postgresql(dot)org, pgsql-novice(at)postgresql(dot)org |
Subject: | Re: Version 1 Calling convention |
Date: | 2006-08-30 08:34:17 |
Message-ID: | a47902760608300134q3aea4cb7k2e8194c5adbe7341@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general pgsql-novice |
How does the SPI manager know which database to connect using SPI_CONNECT()
As there can be more than one datbase in the postgres server, how does it
make out which database to connect as we don't specify the datbase name we
intend to connect.
~Jas
On 8/30/06, Jasbinder Bali <jsbali(at)gmail(dot)com> wrote:
>
> OK..i got it..
> spi.h was in /usr/include/pgsql/server/executor
>
> Jas
>
> On 8/30/06, Jasbinder Bali <jsbali(at)gmail(dot)com > wrote:
>
> > Isn't there any rpm to download the SPI ??
> >
> > On 8/30/06, Martijn van Oosterhout < kleptog(at)svana(dot)org> wrote:
> >
> > > On Wed, Aug 30, 2006 at 01:01:32AM -0400, Jasbinder Bali wrote:
> > > Do i need to download spi.h from somewhere or what? I can't see it
> > anywhere
> >
> > You need the backend header files. In Debian they're in the
> > postgresql-dev package. You'll need to add
> > -I/usr/include/postgresql/server to your compile command to see them.
> >
> > Hope this helps,
> > --
> > 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)
> >
> > iD8DBQFE9R/4IB7bNG8LQkwRAiekAJ9VV+aC+bshCm8H6Lifa5rwTtBl8wCcCyli
> > 9BMLtVsMsLzJM1FwLvhqMbs=
> > =Xbxl
> > -----END PGP SIGNATURE-----
> >
> >
> >
> >
>
From | Date | Subject | |
---|---|---|---|
Next Message | Martijn van Oosterhout | 2006-08-30 08:37:53 | Re: Version 1 Calling convention |
Previous Message | Harpreet Dhaliwal | 2006-08-30 08:28:01 | Re: #include "executor/spi.h" throwing errors |
From | Date | Subject | |
---|---|---|---|
Next Message | Martijn van Oosterhout | 2006-08-30 08:37:53 | Re: Version 1 Calling convention |
Previous Message | Jasbinder Bali | 2006-08-30 05:23:40 | Re: Version 1 Calling convention |