Re: list user created triggers - Mailing list pgsql-performance

From sathiya psql
Subject Re: list user created triggers
Date
Msg-id f966c2ee0803112107i30a3249ah1e10b89cb678a32b@mail.gmail.com
Whole thread Raw
In response to list user created triggers  ("sathiya psql" <sathiya.psql@gmail.com>)
Responses Re: list user created triggers
List pgsql-performance
thanks...
after this query also it is showing default triggers ( am very much worried that how the system triggers are created using my username ....

ok i posted this in the group you specified..

On Tue, Mar 11, 2008 at 8:03 PM, Sergey Benner <sergey.benner@gmail.com> wrote:
Again :) Try this query.



select usename,relname, tgname, tgtype, proname, prosrc, tgisconstraint,
tgconstrname, tgconstrrelid, tgdeferrable, tginitdeferred, tgnargs,
tgattr, tgargs from (pg_trigger join pg_class c on tgrelid=c.oid )
join pg_proc on (tgfoid=pg_proc.oid) join pg_user pu on c.relowner=pu.usesysid where pu.usename='YOURUSERNAME';



Please post such questions to the pgsql-sql@postgresql.org list.

Cheers,
Sergey


pgsql-performance by date:

Previous
From: Craig Ringer
Date:
Subject: Re: how many index can have????
Next
From: "sathiya psql"
Date:
Subject: Re: list user created triggers