X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 090B48B9CF2 for ; Wed, 23 Feb 2005 08:55:34 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 16082-02 for ; Wed, 23 Feb 2005 08:55:26 +0000 (GMT) Received: from tigger.fuhr.org (tigger.fuhr.org [63.214.45.158]) by svr1.postgresql.org (Postfix) with ESMTP id A1C6F8B9D18 for ; Wed, 23 Feb 2005 08:55:27 +0000 (GMT) Received: from winnie.fuhr.org (winnie.fuhr.org [10.1.0.1]) by tigger.fuhr.org (8.13.1/8.13.1) with ESMTP id j1N8tKLq038695 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 23 Feb 2005 01:55:23 -0700 (MST) (envelope-from mfuhr@winnie.fuhr.org) Received: from winnie.fuhr.org (localhost [127.0.0.1]) by winnie.fuhr.org (8.13.1/8.13.1) with ESMTP id j1N8tKDj023939; Wed, 23 Feb 2005 01:55:20 -0700 (MST) (envelope-from mfuhr@winnie.fuhr.org) Received: (from mfuhr@localhost) by winnie.fuhr.org (8.13.1/8.13.1/Submit) id j1N8tKBC023938; Wed, 23 Feb 2005 01:55:20 -0700 (MST) (envelope-from mfuhr) Date: Wed, 23 Feb 2005 01:55:20 -0700 From: Michael Fuhr To: Oliver =?iso-8859-1?Q?Br=FCck?= Cc: peter_e@gmx.net, pgsql-sql@postgresql.org Subject: Re: No triggers visible for different user in information_schema.triggers Message-ID: <20050223085520.GA23853@winnie.fuhr.org> References: <4214BF20.1010908@waagner-biro.com> <20050217174332.GA26546@winnie.fuhr.org> <421C3953.4000408@waagner-biro.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <421C3953.4000408@waagner-biro.com> X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.003 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200502/268 X-Sequence-Number: 20378 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/