pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Charles Hauser <chauser@duke.edu>
To: PSQL_list <pgsql-sql@postgresql.org>
Subject: RI_ConstraintTrigger_11264756
Date: 31 Jul 2003 15:18:49 -0400
Message-ID: <1059679130.20194.6.camel@pandorina.biology.duke.edu> (raw)

All,

I have inherited a table (below) with a RI trigger.
I believe this table was created where both clone_id & blastx_id are FKs
w/ stipulation 'ON DELETE CASCADE'.

My question is, is this specified in the trigger:
RI_ConstraintTrigger_11264756?

If so how would I learn the content of the trigger knowing just the
trigger id (11264756)?

I have not seen a 'decoding' of triggers using pgsql.

regards,

Charles


CREATE TABLE clone_blastx(
	clone_id INTEGER NOT NULL REFERENCES clone(clone_id)  ON DELETE CASCADE,
	blastx_id INTEGER NOT NULL REFERENCES blastx(blastx_id)  ON DELETE CASCADE,
	UNIQUE(clone_id,blastx_id)
	);




  Column   |  Type   | Modifiers 
-----------+---------+-----------
 clone_id  | integer | 
 contig_id | integer | 
Indexes: clone_contig_clone_id_key unique btree (clone_id, contig_id),
         clone_id_clone_contig_key btree (clone_id),
         contig_id_clone_contig_key btree (contig_id)
Triggers: RI_ConstraintTrigger_11264756






view thread (2+ messages)  latest in thread

Message-ID: <1059679130.20194.6.camel@pandorina.biology.duke.edu>
Permalink:  ../1059679130.20194.6.camel@pandorina.biology.duke.edu/
Also on:    postgresql.org/message-id/1059679130.20194.6.camel@pandorina.biology.duke.edu

 · 

reply

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-sql@postgresql.org
  Cc: chauser@duke.edu
  Subject: Re: RI_ConstraintTrigger_11264756
  In-Reply-To: <1059679130.20194.6.camel@pandorina.biology.duke.edu>
  References: <1059679130.20194.6.camel@pandorina.biology.duke.edu>

* 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