| От | Stephan Szabo |
|---|---|
| Тема | More FK patches |
| Дата | |
| Msg-id | 20011112181333.Q76772-200000@megazone23.bigpanda.com обсуждение исходный текст |
| Ответы |
Re: More FK patches
Re: More FK patches |
| Список | pgsql-patches |
This patch should help fix cases with two separate fk constraints in a row that happen to reference the same pk constraint with an on update cascade and similar cases. It now should detect correctly that a pk row was added later after a delete or update on a no action deferred fk and not incorrect error as well as dropping a check on insert/update to the fk table if the row we're being referred to no longer is valid (I'm using HeapTupleSatisfiesItself because the comment implied it was what I was looking for and it appears to work :) ). I've got regression tests but I'm holding off on those until we decide whether or not we're dropping the triggered data change errors since a couple of the tests would hit that case and I'll either change them or drop them if we're not dropping the error.
В списке pgsql-patches по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера