Re: FK creation -- "ON DELETE NO ACTION" seems to be a no-op

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: FK creation -- "ON DELETE NO ACTION" seems to be a no-op
Дата
Msg-id 20071221203321.GD13293@alvh.no-ip.org
обсуждение исходный текст
Ответ на FK creation -- "ON DELETE NO ACTION" seems to be a no-op  ("Webb Sprague" <webb.sprague@gmail.com>)
Ответы Re: FK creation -- "ON DELETE NO ACTION" seems to be a no-op  ("Webb Sprague" <webb.sprague@gmail.com>)
Список pgsql-general
Webb Sprague escribió:

> It is not updating the table correctly to reflect the "no action".
> After \d currentsessions (and some editing) I get the following,
> which, as I understand it, should say something about the "ON DELETE
> NO ACTION":
>
>   ... "currentsessions_username_fkey" FOREIGN KEY (username)
> REFERENCES authorizedusers(username) ON UPDATE CASCADE

Hmm, NO ACTION is the default.

--
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

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

Предыдущее
От: "Bryan Wilkerson"
Дата:
Сообщение: self ordering list
Следующее
От: brian
Дата:
Сообщение: Re: self ordering list