Re: Building SPI programs

From: Ian Lance Taylor <ian(at)airs(dot)com>
To: Aristide Aragon <aristide(at)lionking(dot)org>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Building SPI programs
Date: 2001-02-23 04:04:06
Message-ID: sik86i2gg9.fsf@daffy.airs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Aristide Aragon <aristide(at)lionking(dot)org> writes:

> On Thu, Feb 22, 2001 at 07:49:56PM -0800, Ian Lance Taylor wrote:
> > Aristide Aragon <zuri(at)busa(dot)lionking(dot)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 you help 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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Bruce Momjian 2001-02-23 04:04:23 Re: [HACKERS] Re: [INTERFACES] Re: Chinese patch for Pgaccess
Previous Message Tod McQuillin 2001-02-23 04:00:13 Re: is this expected or am i on crack?