Skip site navigation (1) Skip section navigation (2)

Re: list user created triggers

From: "sathiya psql" <sathiya(dot)psql(at)gmail(dot)com>
To: "Sergey Benner" <sergey(dot)benner(at)gmail(dot)com>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: list user created triggers
Date: 2008-03-12 04:07:52
Message-ID: f966c2ee0803112107i30a3249ah1e10b89cb678a32b@mail.gmail.com (view raw or flat)
Thread:
Lists: 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(dot)benner(at)gmail(dot)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(at)postgresql(dot)org list.
>
> Cheers,
> Sergey
>
>

Responses

pgsql-performance by date

Next:From: sathiya psqlDate: 2008-03-12 05:17:05
Subject: Re: list user created triggers
Previous:From: Tom LaneDate: 2008-03-11 21:06:37
Subject: Re: [PERFORM] Very slow (2 tuples/second) sequential scan after bulk insert; speed returns to ~500 tuples/second after commit

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group