SPI and Libpq

Anand Surelia <anand@bytekinc.com>

From: Anand Surelia <anand@bytekinc.com>
To: "pgsql-general@postgreSQL.org" <pgsql-general@postgreSQL.org>
Date: 1998-09-22T11:32:20Z
Lists: pgsql-general
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