list user created triggers

From: "sathiya psql" <sathiya(dot)psql(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: list user created triggers
Date: 2008-03-11 13:45:03
Message-ID: f966c2ee0803110645s20fd3692lcfb84e01af34b5ac@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

hi,

how to find trigger names in my database ?

using psql 7.4

the following query shows system triggers, i want only to list the
triggers created by me

select relname, tgname, tgtype, proname, prosrc, tgisconstraint,
tgconstrname, tgconstrrelid, tgdeferrable, tginitdeferred, tgnargs,
tgattr, tgargs from (pg_trigger join pg_class on tgrelid=pg_class.oid)
join pg_proc on (tgfoid=pg_proc.oid);

Browse pgsql-general by date

  From Date Subject
Next Message rrahul 2008-03-11 13:47:48 postgre vs MySQL
Previous Message Gauthier, Dave 2008-03-11 13:31:20 Database OID xxxxx now seems to belong to "foo"