Re: Triggers - Mailing list pgsql-general

From Stephan Szabo
Subject Re: Triggers
Date
Msg-id Pine.BSF.4.21.0110261126380.66638-100000@megazone23.bigpanda.com
Whole thread Raw
In response to Triggers  ("Mihai Gheorghiu" <tanethq@earthlink.net>)
List pgsql-general
On Fri, 26 Oct 2001, Mihai Gheorghiu wrote:

> How can I find and see the code of a trigger automatically generated by a
> referential integrity constraint.

You can get the parameters out of pg_trigger (if you've named your
constraint you can use tgconstrname to find them, otherwise you need to
compare items in tgargs).

The code itself is in C and is in src/backend/utils/adt/ri_triggers.c


pgsql-general by date:

Previous
From: sjh@ucf.ics.uci.edu
Date:
Subject: Re: initdb segfault - solaris 8
Next
From: "Brett W. McCoy"
Date:
Subject: Re: null != null ???