Re: deleting the master but not the detail

Поиск
Список
Период
Сортировка
От Douglas McNaught
Тема Re: deleting the master but not the detail
Дата
Msg-id 5ded07e00807170952m26a2fab1t738ad1a3842bae02@mail.gmail.com
обсуждение исходный текст
Ответ на deleting the master but not the detail  ("Ismael ...." <ismaelpsp@hotmail.com>)
Ответы Re: deleting the master but not the detail  ("Scott Marlowe" <scott.marlowe@gmail.com>)
Список pgsql-general
On Thu, Jul 17, 2008 at 12:11 PM, Ismael .... <ismaelpsp@hotmail.com> wrote:
>
> hi
> I have one of those master-detail relationships here and I need to be able
> to delete the master but leave the details untouched

Then remove the referential integrity constraint, since it's obviously
incompatible with your business requirements.

-Doug

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

Предыдущее
От: "Ismael ...."
Дата:
Сообщение: Re: deleting the master but not the detail
Следующее
От: "Scott Marlowe"
Дата:
Сообщение: Re: query optimization