Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
Thread:
Lists: pgsql-generalpgsql-hackerspgsql-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

pgsql-hackers by date

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

pgsql-interfaces by date

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

pgsql-general by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group