pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Urs Steiner <postgresql@darkstone.ch>
To: pgsql-sql@postgresql.org
Subject: list triggers ?
Date: Mon, 21 Jan 2002 10:03:01 +0100
Message-ID: <0ab201c1a25a$6def9a20$ecb88481@ethz.ch> (raw)

Hi all

yesterday, i created the following table:

create table kunden (id serial primary key, name varchar(30) not null,
adresse1 varchar(30) not null, adresse2 varchar(30), plz varchar(10) not
null, ort varchar(30) not null, legi varchar(10) not null, tel1
varchar(20), tel2 varchar(20), email varchar(60), rechnung boolean
default False not null, login varchar(10) not null, password varchar(10)
not null, abteilung integer not null, constraint kunden_abt_fk FOREIGN
key(abteilung) references kategorien );

part of the output of this command was:

NOTICE:  CREATE TABLE will create implicit trigger(s) for FOREIGN KEY
check(s)
CREATE

now, the creation is actually OK. But how do i find out which triggers
exist and what they look like ? (generically, in this case i assume it
to be some default, available fropm the docu)

Thanks,
Urs




view thread (4+ messages)  latest in thread

Message-ID: <0ab201c1a25a$6def9a20$ecb88481@ethz.ch>
Permalink:  ../0ab201c1a25a$6def9a20$ecb88481@ethz.ch/
Also on:    postgresql.org/message-id/0ab201c1a25a$6def9a20$ecb88481@ethz.ch

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: postgresql@darkstone.ch
  Subject: Re: list triggers ?
  In-Reply-To: <0ab201c1a25a$6def9a20$ecb88481@ethz.ch>

* 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