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: (view raw, whole thread or download thread mbox)
Lists: pgsql-performance
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>

> 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


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-2017 The PostgreSQL Global Development Group