From: Martín Marqués <martin@bugs.unl.edu.ar>
To: pgsql-sql@postgresql.org
To: pgsql-general@postgresql.org
Subject: delete with cascade
Date: Wed, 2 May 2001 11:14:02 +0300
Message-ID: <01050211140201.25070@bugs> (raw)
I was reading the manuals on DELETE and I saw this:
By default DELETE will delete tuples in the table specified and all its
sub-tables. If you wish to only update the specific table mentioned, you
should use the ONLY clause.
I just don't understand what sub-tables means. Does it mean that it will
delete rows on other tables which are referenced with a FOREIGN KEY to the
row which will be deleted?
Saludos... :-)
--
El mejor sistema operativo es aquel que te da de comer.
Cuida tu dieta.
-----------------------------------------------------------------
Martin Marques | mmarques@unl.edu.ar
Programador, Administrador | Centro de Telematica
Universidad Nacional
del Litoral
-----------------------------------------------------------------
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-sql@postgresql.org
Cc: martin@bugs.unl.edu.ar, pgsql-general@postgresql.org
Subject: Re: delete with cascade
In-Reply-To: <01050211140201.25070@bugs>
References: <01050211140201.25070@bugs>
* 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