Re: [GENERAL] SPI and Libpq

From: David Hartwig <daveh(at)insightdist(dot)com>
To: Anand Surelia <anand(at)bytekinc(dot)com>
Cc: "pgsql-general(at)postgreSQL(dot)org" <pgsql-general(at)postgreSQL(dot)org>
Subject: Re: [GENERAL] SPI and Libpq
Date: 1998-09-22 19:09:39
Message-ID: 3607F5F3.3B527647@insightdist.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

SPI - Server Programming Interface is for coding C functions in the
backend. Thus triggers can reference functions created using SPI..

Libpq is a front-end (or client side) API.

Anand Surelia wrote:

> Hi,
> Can anyone tell me what is the difference between the SPI and the Libpq
> interfaces and when to use what?
> I am writing some functions that will be used by triggers. What
> interface should I use to implement those functions?
> Thanks,
> Anand

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Bruce Momjian 1998-09-22 19:19:32 Re: [GENERAL] Limit on multi-field indexes?
Previous Message Greg Youngblood 1998-09-22 13:56:48 Help needed with performance...please.