Hackers; as per $subject... We have an FK defined on a table large enough and 24x7 as to make a redefining of same constraint a painful solution. Ran into a case where defining as deferrable initially immediate and just running one batch job with deferred firing would solve a concurrency problem that we discovered. Grabbing a quick exclusive lock on the 2 related tables would not be a problem if same might help avoid bad side-effects. Developers are already working on a chunking solution to avoid the long-running transaction that gave rise to this but I'd like to consider this if it's not risky. Comments? -- Jerry Sievers Postgres DBA/Development Consulting e: postgres.consulting@comcast.net p: 312.241.7800
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера