create trigger : functions - Mailing list pgsql-general

From Sandeep Joshi
Subject create trigger : functions
Date
Msg-id 3A39733D.245A8FA3@zambeel.com
Whole thread Raw
Responses Trigger  (Manika dey <bithi@ipr.res.in>)
List pgsql-general
Hi,
   I have written a 'C' function to be called during INSERT trigger on a
table.

   Are there any restrictions on the functions that can be called?

   I know you can call SPI_* functions. But, can I call PQ*  functions ?
e.g PQsetdb.

   Is there any document which describes how the functions written for
trigger are executed?
Do they executed within the same process as server process or another
process is started to execute the commands?

regards,

Sandeep


pgsql-general by date:

Previous
From: Alvar Freude
Date:
Subject: Re: Apache+Postgresql (mod_auth_pgsql)
Next
From: "Dan Wilson"
Date:
Subject: Trigger/Function problem