| От | Thomas Kellerer |
|---|---|
| Тема | Re: Why does Postgres allow duplicate (FK) constraints |
| Дата | |
| Msg-id | kiuc18$9s$2@ger.gmane.org обсуждение исходный текст |
| Ответ на | Re: Why does Postgres allow duplicate (FK) constraints (Alban Hertroys <haramrae@gmail.com>) |
| Ответы |
Re: Why does Postgres allow duplicate (FK) constraints
|
| Список | pgsql-general |
Alban Hertroys, 26.03.2013 17:17: > It can make sense during a maintenance window, if you create a new > (redundant) FK constraint concurrently to replace the existing one. > If you'd first remove the existing constraint, you're allowing FK > violations until the new constraint has finished creating its index. > > This happens for example if you want to use a different index > algorithm, say a gist index instead of a btree index, or if the > initial index has gotten corrupt somehow and it needs reindexing. I can understand this for indexes, but a foreign key constraint does not create one. Regards Thomas
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера