public inbox for [email protected]
help / color / mirror / Atom feedFrom: Tom Lane <[email protected]>
To: Rod Taylor <[email protected]>
Cc: [email protected]
Subject: Re: RESTRICT / CASCADE
Date: Mon, 09 Sep 2002 15:24:18 -0400
Message-ID: <[email protected]> (raw)
In-Reply-To: <1031427051.15580.11.camel@jester>
References: <1031427051.15580.11.camel@jester>
Rod Taylor <[email protected]> writes:
> This note is currently in the 'Dependency Tracking (2.8)' section:
> Note: According to the SQL standard, specifying either RESTRICT or
> CASCADE is required. No database system actually implements it that way,
> but the defaults might be different.
The note is perhaps not very well worded. No one actually requires you
to say RESTRICT or CASCADE, but there are some systems where the default
assumption is CASCADE. I think everyone here agrees that that's a
ridiculously dangerous default, so it's quite unlikely that PG's
behavior would ever vary from what it is now.
> If the defaults are different, perhaps the documentation should show
> it's examples using RESTRICT or CASCADE explicitly?
No, that's just pointless pedantry.
regards, tom lane
view thread (4+ messages)
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 using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected], [email protected]
Subject: Re: RESTRICT / CASCADE
In-Reply-To: <[email protected]>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox