| От | Adrian Klaver |
|---|---|
| Тема | Re: problem with parent/child table and FKs |
| Дата | |
| Msg-id | 201104210753.05149.adrian.klaver@gmail.com обсуждение исходный текст |
| Ответ на | Re: problem with parent/child table and FKs (Karsten Hilbert <Karsten.Hilbert@gmx.net>) |
| Ответы |
Re: problem with parent/child table and FKs
|
| Список | pgsql-general |
On Thursday, April 21, 2011 4:36:51 am Karsten Hilbert wrote:
> Does anyone have any suggestions regarding the below ?
The only thing I can come up with is to eliminate the FK :
fk_code integer not null
references code_root(pk_code_root)
on update restrict
on delete restrict
on lnk_codes2epi and replace it with a trigger that essentially does the same
thing ; check for presence of pk_code_root.
>
> Thanks,
> Karsten
>
--
Adrian Klaver
adrian.klaver@gmail.com
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера