Re: [GENERAL] FOREIGN KEY syntax

Поиск
Список
Период
Сортировка
От Oliver Elphick
Тема Re: [GENERAL] FOREIGN KEY syntax
Дата
Msg-id 200003032154.VAA02514@linda.lfix.co.uk
обсуждение исходный текст
Ответ на RE: [GENERAL] FOREIGN KEY syntax  (Andrzej Mazurkiewicz <andrzej.mazurkiewicz@polkomtel.com.pl>)
Ответы Re: [GENERAL] FOREIGN KEY syntax  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-general
Andrzej Mazurkiewicz wrote:
  >> And what is MATCH FULL?
  >    [Andrzej Mazurkiewicz] I would not like to speculate perhaps
  >somebody else knows exact answer.

MATCH FULL:
  Either all referencing columns must be null, or all must have values.

MATCH PARTIAL:
  "if any columns are non-null, there must be at least one row in the
   referenced table that could satisfy the constraint if the other null
   values were correctly substituted."
                           (The SQL Standard Handbook, Cannan & Otten)
--
Oliver Elphick                                Oliver.Elphick@lfix.co.uk
Isle of Wight                              http://www.lfix.co.uk/oliver
               PGP key from public servers; key ID 32B8FAA1
                 ========================================
     "A new commandment I give to you, that you love one
      another, even as I have loved you."
                                        John 13:34



В списке pgsql-general по дате отправления:

Предыдущее
От: Charles Tassell
Дата:
Сообщение: Re: [GENERAL] Regular expressions syntax: is \ the escape character ?
Следующее
От: Jason Vasquez
Дата:
Сообщение: Nested tables