list user created triggers

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

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-admin by date

  From Date Subject
Next Message Julio Leyva 2008-03-11 14:15:22 Re: helpppppppppppppppp??????????
Previous Message Kieran McCusker 2008-03-11 12:54:41 Perform an action on schema drop