Insertion Deferrable

Поиск
Список
Период
Сортировка
От 杨邕
Тема Insertion Deferrable
Дата
Msg-id 752022ef04102900262d656006@mail.gmail.com
обсуждение исходный текст
Ответы Re: Insertion Deferrable
Список pgsql-bugs
You told me restricted foreign key cannot deferable in PostgreSQL 8.0.0 Beta 4.

2004-10-21 22:33  tgl

    * doc/src/sgml/ddl.sgml, doc/src/sgml/ref/create_table.sgml,
      src/backend/commands/tablecmds.c, src/backend/commands/trigger.c:
      Disallow referential integrity actions from being deferred; only
      the NO ACTION check is deferrable.  This seems to be a closer
      approximation to what the SQL spec says than what we were doing
      before, and it prevents some anomalous behaviors that are
      possible now that triggers can fire during the execution of PL
      functions.  Stephan Szabo.

Take this test...
Restricted foreign key allows insertion deferrable,
And rejects deletion deferrable.

Why it is not symmetrical ?

Вложения

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

Предыдущее
От: Igor Azarny
Дата:
Сообщение: 8 beta 4 installation failed
Следующее
От: "Andrea D."
Дата:
Сообщение: Not a real bug, but an error