Re: [GENERAL] SPI and Libpq - Mailing list pgsql-general

From David Hartwig
Subject Re: [GENERAL] SPI and Libpq
Date
Msg-id 3607F5F3.3B527647@insightdist.com
Whole thread Raw
In response to SPI and Libpq  (Anand Surelia <anand@bytekinc.com>)
List 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




pgsql-general by date:

Previous
From: Anand Surelia
Date:
Subject: SPI and Libpq
Next
From: Bruce Momjian
Date:
Subject: Re: [GENERAL] Limit on multi-field indexes?