Received: from sss.pgh.pa.us ([192.204.191.242]) by postgresql.org (8.11.3/8.11.4) with ESMTP id g0UIQml26588 for ; Wed, 30 Jan 2002 13:26:48 -0500 (EST) (envelope-from tgl@sss.pgh.pa.us) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.11.4/8.11.4) with ESMTP id g0UIQif24964; Wed, 30 Jan 2002 13:26:44 -0500 (EST) To: Brian McCane cc: pgsql-admin@postgresql.org Subject: Re: Listing Triggers In-reply-to: <20020130115327.S80122-100000@fw.mccons.net> References: <20020130115327.S80122-100000@fw.mccons.net> Comments: In-reply-to Brian McCane message dated "Wed, 30 Jan 2002 12:00:13 -0600" Date: Wed, 30 Jan 2002 13:26:44 -0500 Message-ID: <24961.1012415204@sss.pgh.pa.us> From: Tom Lane X-Archive-Number: 200201/270 X-Sequence-Number: 3151 Brian McCane writes: > Thanks Tom and Arguile that definitely helps. Now for my more > pressing, but forgotten question. Shouldn't PostgreSQL have automatically > dropped that trigger when I dropped the table? It should, and it does. IIRC, there's a bug in some versions of pg_dump that loses the connection between a foreign-key trigger and the referenced table (ie, the tgconstrrelid link) when you dump and reload. If you can exhibit an instance of misbehavior otherwise, I'd like to see it. regards, tom lane