X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id 9D02FD1C510 for ; Mon, 11 Aug 2003 13:15:08 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (neptune.hub.org [64.117.224.130]) (amavisd-new, port 10024) with ESMTP id 88888-09 for ; Mon, 11 Aug 2003 10:13:42 -0300 (ADT) Received: from megazone.bigpanda.com (45.mufb.snfc.sffca01r18.dsl.att.net [12.103.249.45]) by svr1.postgresql.org (Postfix) with ESMTP id 4D0AAD1C4B9 for ; Mon, 11 Aug 2003 10:14:54 -0300 (ADT) Received: by megazone.bigpanda.com (Postfix, from userid 1001) id 30C7CD67C; Mon, 11 Aug 2003 06:14:58 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by megazone.bigpanda.com (Postfix) with ESMTP id 226575C0B; Mon, 11 Aug 2003 06:14:58 -0700 (PDT) Date: Mon, 11 Aug 2003 06:14:58 -0700 (PDT) From: Stephan Szabo To: =?ISO-8859-1?Q?Beno=EEt_Bournon?= Cc: BenLaKnet , Subject: Re: [pg-sql] - Problem with duplicate table (PostgreSQL 7.2.3 In-Reply-To: <3F3740A3.4070404@adelis.com> Message-ID: <20030811061208.T72304-100000@megazone.bigpanda.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=X-UNKNOWN Content-Transfer-Encoding: QUOTED-PRINTABLE X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200308/98 X-Sequence-Number: 14714 On Mon, 11 Aug 2003, [ISO-8859-1] Beno=EEt Bournon wrote: > No trigger > > Just triggers for foreign key in spectacle and none in spectacle_v > > How is it possible to verify triggers for foreign keys ? Generally a select on pg_trigger. Each foreign key should have 3 triggers, 1 on the referencing table and 2 on the referenced. You find the tables involved by crossreferencing tgrelid against the oid of the row in pg_class. Can you send the results of a pg_dump -s?