BUG #17085: Should be able to create an index without referential checking when ON DELETE NO ACTION
В списке pgsql-bugs по дате отправления:
| От | PG Bug reporting form |
|---|---|
| Тема | BUG #17085: Should be able to create an index without referential checking when ON DELETE NO ACTION |
| Дата | |
| Msg-id | 17085-26d62a05c4c37991@postgresql.org обсуждение исходный текст |
| Ответы |
Re: BUG #17085: Should be able to create an index without referential checking when ON DELETE NO ACTION
|
| Список | pgsql-bugs |
The following bug has been logged on the website: Bug reference: 17085 Logged by: Victor Porton Email address: porton@narod.ru PostgreSQL version: 13.3 Operating system: Linux Description: When there is either ON DELETE NO ACTION or ON UPDATE NO ACTION for a foreign key, referential integrity is not preserved anyway. Therefore in this case ALTER TABLE should be able to create an index without referential checking. It is especially useful for removing superfluous data like: delete from tags using transactions where not exists(select * from transactions where tags.tx_id=transactions.id); I've got into a trouble: This command runs too long because of no foreign key, but I can't create a foreign key because this command didn't run yet to make referntial integrity working.
В списке pgsql-bugs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера