create trigger : functions

From: Sandeep Joshi <sjoshi(at)Zambeel(dot)com>
To: pgsql-hackers(at)postgresql(dot)org, pgsql-interfaces(at)postgresql(dot)org, pgsql-general(at)postgresql(dot)org
Subject: create trigger : functions
Date: 2000-12-15 01:26:21
Message-ID: 3A39733D.245A8FA3@zambeel.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers pgsql-interfaces

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

Responses

  • Trigger at 2000-12-15 16:36:08 from Manika dey

Browse pgsql-general by date

  From Date Subject
Next Message Robert B. Easter 2000-12-15 02:10:41 Re: Trigger/Function problem
Previous Message Alvar Freude 2000-12-15 01:21:58 Re: Apache+Postgresql (mod_auth_pgsql)

Browse pgsql-hackers by date

  From Date Subject
Next Message Josh Rovero 2000-12-15 02:54:08 Re: How to import/export data from/to an ASCII file?
Previous Message Nathan Myers 2000-12-14 21:08:10 CRC-64

Browse pgsql-interfaces by date

  From Date Subject
Next Message Sanjay Arora 2000-12-15 16:31:49 Re: Connection Pooling...(Repost)...please do help..
Previous Message Joel Burton 2000-12-14 19:58:39 Re: Windows ODBC tables list (with 7.1 CVS)