Re: No triggers visible for different user in information_schema.triggers

From: Michael Fuhr <mike(at)fuhr(dot)org>
To: Oliver Brück <oliver(dot)brueck(at)waagner-biro(dot)com>
Cc: peter_e(at)gmx(dot)net, pgsql-sql(at)postgresql(dot)org
Subject: Re: No triggers visible for different user in information_schema.triggers
Date: 2005-02-23 08:55:20
Message-ID: 20050223085520.GA23853@winnie.fuhr.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

On Wed, Feb 23, 2005 at 09:05:39AM +0100, Oliver Brück wrote:

> While PostgreSQL implements the SQL:1999 behaviour, is there any way to
> check if a certain trigger already has been created, though that trigger
> is owned by another user?

See the "System Catalogs" chapter in the documentation, in particular
the page for pg_trigger. It can also be instructive to run psql with
the -E option or execute "\set ECHO_HIDDEN" to make psql show the
queries it executes for commands like "\d tablename".

What are you trying to do? Why do you want to look for a particular
trigger?

--
Michael Fuhr
http://www.fuhr.org/~mfuhr/

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message mauro 2005-02-23 10:19:53 Postgres 8 - problem: invalid input syntax for integer
Previous Message Oliver Brück 2005-02-23 08:05:39 Re: No triggers visible for different user in information_schema.triggers