Re: Delete with join -- deleting related table entries?

Поиск
Список
Период
Сортировка
От BigSmoke
Тема Re: Delete with join -- deleting related table entries?
Дата
Msg-id 1139419559.188208.72500@g43g2000cwa.googlegroups.com
обсуждение исходный текст
Ответ на Delete with join -- deleting related table entries?  (Bryce Nesbitt <bryce1@obviously.com>)
Ответы Re: Delete with join -- deleting related table entries?  (Bryce Nesbitt <bryce1@obviously.com>)
Список pgsql-sql
I'm not sure if this is true for you as I can't see your complete table
definitions, but I'd usually do this by using
 issue_id INTEGER REFERENCES issue ON DELETE CASCADE

in my column definition.

See [1] for more information.

[1]http://www.postgresql.org/docs/current/interactive/ddl-constraints.html#DDL-CONSTRAINTS-FK



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

Предыдущее
От: Bryce Nesbitt
Дата:
Сообщение: Delete with join -- deleting related table entries?
Следующее
От: "BigSmoke"
Дата:
Сообщение: Re: (NONE)