pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Fuhr <mike@fuhr.org>
To: Oliver Brück <oliver.brueck@waagner-biro.com>
Cc: peter_e@gmx.net
Cc: pgsql-sql@postgresql.org
Subject: Re: No triggers visible for different user in information_schema.triggers
Date: Wed, 23 Feb 2005 01:55:20 -0700
Message-ID: <20050223085520.GA23853@winnie.fuhr.org> (raw)
In-Reply-To: <421C3953.4000408@waagner-biro.com>
References: <4214BF20.1010908@waagner-biro.com>
	<20050217174332.GA26546@winnie.fuhr.org>
	<421C3953.4000408@waagner-biro.com>

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/



view thread (5+ messages)

Message-ID: <20050223085520.GA23853@winnie.fuhr.org>
Permalink:  ../20050223085520.GA23853@winnie.fuhr.org/
Also on:    postgresql.org/message-id/20050223085520.GA23853@winnie.fuhr.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: mike@fuhr.org, oliver.brueck@waagner-biro.com, peter_e@gmx.net
  Subject: Re: No triggers visible for different user in information_schema.triggers
  In-Reply-To: <20050223085520.GA23853@winnie.fuhr.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox