| От | Jim Nasby |
|---|---|
| Тема | Re: Tweaking Foreign Keys for larger tables |
| Дата | |
| Msg-id | 545BF14C.4020602@BlueTreble.com обсуждение исходный текст |
| Ответ на | Re: Tweaking Foreign Keys for larger tables (David G Johnston <david.g.johnston@gmail.com>) |
| Список | pgsql-hackers |
On 11/6/14, 11:49 AM, David G Johnston wrote: > > Constraint would add a statement-level after trigger for insert, > > update, delete and trigger, which issues a relcache invalidation if > > the state was marked valid. Marked as deferrable initially deferred. > I don't think you'd need to invalidate on insert, > > > Why? Since the FK is not enforced there is no guarantee that what you just inserted is valid I'm talking about the referenced (aka 'parent') table, not the referring table. -- Jim Nasby, Data Architect, Blue Treble Consulting Data in Trouble? Get it in Treble! http://BlueTreble.com
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера