Re: Building SPI programs - Mailing list pgsql-general

From Ian Lance Taylor
Subject Re: Building SPI programs
Date
Msg-id sik86i2gg9.fsf@daffy.airs.com
Whole thread Raw
In response to Building SPI programs  (Aristide Aragon <zuri@busa.lionking.org>)
List pgsql-general
Aristide Aragon <aristide@lionking.org> writes:

> On Thu, Feb 22, 2001 at 07:49:56PM -0800, Ian Lance Taylor wrote:
> > Aristide Aragon <zuri@busa.lionking.org> writes:
> >
> > > I have to do some programming in C or C++ and PostgreSQL.
> > SPI is only for stored procedures which are dynamically linked into
> > the Postgres backend.
> >
> > Ordinary code doesn't do that.  It uses some one of the other
> > mechanisms.
>
> I don't understand.. So I shouldn't use SPI? If I should, how would I comple a program, if not, what can I use? Can
youhelp me? 

You didn't really say what you wanted to do, so I don't know whether
you should use SPI or not.

If you don't have a clue what I was talking about in my previous
message, then you should not use SPI.  You should probably use the
libpq interface.

Ian

pgsql-general by date:

Previous
From: Ian Lance Taylor
Date:
Subject: Re: Building SPI programs
Next
From: Tod McQuillin
Date:
Subject: Re: is this expected or am i on crack?