| От | Bruno Wolff III |
|---|---|
| Тема | Re: Cascade delete question |
| Дата | |
| Msg-id | 20040423030327.GA828@wolff.to обсуждение |
| Ответ на | Cascade delete question (Glenn MacGregor <gtm@highstreetnetworks.com>) |
| Список | pgsql-admin |
On Thu, Apr 22, 2004 at 16:46:31 -0400, Glenn MacGregor <gtm@highstreetnetworks.com> wrote: > > No problem this works great! > > Now I have changed my data to > > vid vname parentname > 1 n1@test.com > 2 n2@test.com n1 > 3 n3@test.com n1 > 4 n4@test.com n1 > 5 n5@test.com n3 > > Can I change my delete cascade constraint to do this substring query > instead of an exact match? No. > Is there anyway to accomplish what I need to do? If the local part of the email address is a candidate key, separate it from the domain name and make it the primary key.
В списке pgsql-admin по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера