Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id AE844475F2C for ; Mon, 7 Oct 2002 20:13:10 -0400 (EDT) Received: from davinci.ethosmedia.com (davinci.ethosmedia.com [209.10.40.250]) by postgresql.org (Postfix) with ESMTP id 1D711475F0D for ; Mon, 7 Oct 2002 20:13:10 -0400 (EDT) Received: from [66.219.92.2] (HELO chocolate-mousse) by davinci.ethosmedia.com (CommuniGate Pro SMTP 3.5.9) with ESMTP id 1774769; Mon, 07 Oct 2002 17:11:45 -0700 Content-Type: text/plain; charset="iso-8859-1" From: Josh Berkus Reply-To: josh@agliodbs.com Organization: Aglio Database Solutions To: Laurette Cisneros , pgsql-sql@postgresql.org Subject: Re: foreign key problem Date: Sun, 6 Oct 2002 17:11:08 -0700 X-Mailer: KMail [version 1.4] References: In-Reply-To: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200210061711.08667.josh@agliodbs.com> X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200210/98 X-Sequence-Number: 9816 Laurette, > How is this possible? I've tried to reproduce this, but haven't been able > to yet. This has happened to use several times. Question 1: Can you experimentally create a record in table1, a matching= =20 record in table 2, and then delete the record in table1? It's possible tha= t=20 your "ON DELETE CASCADE" trigger got wiped out somehow. --=20 -Josh Berkus Aglio Database Solutions San Francisco