From: Sandeep Joshi <sjoshi@Zambeel.com>
To: pgsql-hackers@postgresql.org
To: pgsql-interfaces@postgresql.org
To: pgsql-general@postgresql.org
Subject: create trigger : functions
Date: Thu, 14 Dec 2000 17:26:21 -0800
Message-ID: <3A39733D.245A8FA3@zambeel.com> (raw)
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-interfaces@postgresql.org
Cc: sjoshi@Zambeel.com, pgsql-hackers@postgresql.org, pgsql-general@postgresql.org
Subject: Re: create trigger : functions
In-Reply-To: <3A39733D.245A8FA3@zambeel.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox