Re: foreign key problem

From: Josh Berkus <josh(at)agliodbs(dot)com>
To: Laurette Cisneros <laurette(at)nextbus(dot)com>, pgsql-sql(at)postgresql(dot)org
Subject: Re: foreign key problem
Date: 2002-10-07 00:11:08
Message-ID: 200210061711.08667.josh@agliodbs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

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
record in table 2, and then delete the record in table1? It's possible that
your "ON DELETE CASCADE" trigger got wiped out somehow.

--
-Josh Berkus
Aglio Database Solutions
San Francisco

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Josh Berkus 2002-10-07 00:11:46 Re: foreign key problem
Previous Message Dan Langille 2002-10-06 22:51:17 Re: Suggestion: md5/crypt functions in sql