| От | Adrian Klaver |
|---|---|
| Тема | Re: postgres cascade weird behaviour |
| Дата | |
| Msg-id | 200904170600.33672.aklaver@comcast.net обсуждение |
| Ответ на | postgres cascade weird behaviour (Irwan Hendra <overtaker@gmail.com>) |
| Список | pgsql-general |
On Thursday 16 April 2009 6:50:46 pm Irwan Hendra wrote: > Hi > > I have table A with pk that is being referenced by 5 other tables as > foreign key > I have put all those tables reference to be ON DELETE CASCADE > However for some reason when I tried to delete one of the row in table A, > out of 5 tables, 1 of them didn't actually get deleted > but the transaction is completed successfully > so I ended up with a table that has a foreign key referenced to a row that > doesn't exist anymore in table A > > postgres is not reporting any error message, so I have no idea how to > supply more information to this problem > > any idea? > > Thanks Turn up the logging in postgresql.conf -- Adrian Klaver aklaver@comcast.net
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера