Received: from lists.unixathome.org (lists.unixathome.org [210.48.103.158]) by postgresql.org (Postfix) with ESMTP id B59BC47593A for ; Sat, 2 Mar 2002 12:49:09 -0500 (EST) Received: from wocker (lists.unixathome.org [210.48.103.158]) by lists.unixathome.org (8.11.6/8.11.6) with ESMTP id g22HnDk53558 for ; Sun, 3 Mar 2002 06:49:13 +1300 (NZDT) (envelope-from dan@lists.unixathome.org) Message-Id: <200203021749.g22HnDk53558@lists.unixathome.org> From: "Dan Langille" Organization: DVL Software Limited To: pgsql-admin@postgresql.org Date: Sat, 2 Mar 2002 12:49:10 -0500 MIME-Version: 1.0 Subject: Re: removing duplicated constraints Reply-To: dan@langille.org In-reply-to: <200203021519.g22FJjk52460@lists.unixathome.org> X-mailer: Pegasus Mail for Windows (v4.01) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body X-Archive-Number: 200203/25 X-Sequence-Number: 3560 On 2 Mar 2002 at 10:19, Dan Langille wrote: > CREATE CONSTRAINT TRIGGER "" AFTER INSERT OR UPDATE ON "ports" > FROM "categories" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE > PROCEDURE "RI_FKey_check_ins" ('', 'ports', 'categories', > 'UNSPECIFIED', 'category_id', 'id'); > > CREATE CONSTRAINT TRIGGER "" AFTER INSERT OR UPDATE ON "ports" > FROM "categories" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE > PROCEDURE "RI_FKey_check_ins" ('', 'ports', 'categories', > 'UNSPECIFIED', 'category_id', 'id'); How is an unnamed trigger deleted? During a dump, I can find information such as this: -- -- TOC Entry ID 211 (OID 998200) -- -- Name: "RI_ConstraintTrigger_998199" Type: TRIGGER Owner: dan -- How is that information useful to this situation? -- Dan Langille The FreeBSD Diary - http://freebsddiary.org/ - practical examples