public inbox for [email protected]  
help / color / mirror / Atom feed
From: Bruce Momjian <[email protected]>
To: Robert Haas <[email protected]>
Cc: Grzegorz Szpetkowski <[email protected]>
Cc: [email protected]
Subject: Re: ALTER TABLE doc small thing
Date: Sat, 10 Sep 2011 09:24:50 -0400 (EDT)
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>

Robert Haas wrote:
> On Mon, May 9, 2011 at 2:12 PM, Grzegorz Szpetkowski
> <[email protected]> wrote:
> > "NOTE 30 ? If MATCH FULL or MATCH PARTIAL is specified for a
> > referential constraint and if the referencing table has only one
> > column specified in <referential constraint definition> for that
> > referential constraint, or if the referencing table has more than one
> > specified column for that <referential constraint definition>, but
> > none of those columns is nullable, then the effect is the same as if
> > no
> > <match type> were specified."
> >
> > I found that in SQL:2003 draft, so in above case MATCH FULL is
> > syntactically ok, but rather confusing and effectively do nothing
> > (maybe just impression purpose).
> 
> I guess we could remove it, but I don't think it's really doing any harm.

I find the MATCH FULL makes the example less real-world accurate, so I
removed the specification from the example.

-- 
  Bruce Momjian  <[email protected]>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

  + It's impossible for everything to be true. +




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], [email protected]
  Subject: Re: ALTER TABLE doc small thing
  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