pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Stephan Szabo <sszabo@megazone23.bigpanda.com>
To: fred <fred@skyturn.net>
Cc: pgsql-admin@postgresql.org
Subject: Re: CASCADE PB
Date: Wed, 27 Nov 2002 08:55:50 -0800 (PST)
Message-ID: <20021127085301.E93967-100000@megazone23.bigpanda.com> (raw)
In-Reply-To: <20021127165203.0DB55D60F@megazone.bigpanda.com>


On Wed, 27 Nov 2002, fred wrote:

> Ok,
> Thank you for your quick answer,
> I'm affraid I made a mistake on my mail.
> I really wanted to automaticly delete line in the 'fact' table when I delete
> a line in the 'fact' table.
> But when I suppress a line in the 'coop' table I still have the related line
> in the 'fact' table.
> Do you think there is a mistake in my sql syntaxe ?

Not really, and on my 7.3b2 system (should be pretty much the same as
7.2.3 for the integrity constraints, since the only change I remember
being made was pretty unrelated) a delete from coop deletes all the rows
from fact.

Can you give a complete example (including some inserts and deletes) so we
can try it?




view thread (4+ messages)

Message-ID: <20021127085301.E93967-100000@megazone23.bigpanda.com>
Permalink:  ../20021127085301.E93967-100000@megazone23.bigpanda.com/
Also on:    postgresql.org/message-id/20021127085301.E93967-100000@megazone23.bigpanda.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: sszabo@megazone23.bigpanda.com, fred@skyturn.net
  Subject: Re: CASCADE PB
  In-Reply-To: <20021127085301.E93967-100000@megazone23.bigpanda.com>
  References: <20021127165203.0DB55D60F@megazone.bigpanda.com> <20021127085301.E93967-100000@megazone23.bigpanda.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox