Why lost all foreign key constraits after cluster?

Поиск
Список
Период
Сортировка
От Raymond Chui
Тема Why lost all foreign key constraits after cluster?
Дата
Msg-id 3B4C40D5.56FB2B1F@noaa.gov
обсуждение исходный текст
Список pgsql-sql
After I performed

cluster indexname on tablename;

All the foreign key constraints are lost on that table, why is that?
I get messages like

NOTICE: DROP TABLE implicitly drops referential integrity
trigger from table "tablename"

during cluster

I don't want to lost the foreign key constraints on the table. How do I
prevent
that? Thank you!


--Raymond


Вложения

В списке pgsql-sql по дате отправления:

Предыдущее
От: "Alexey V. Neyman"
Дата:
Сообщение: No subselects in constraint (bug?)
Следующее
От: Tod McQuillin
Дата:
Сообщение: Re: Select distinct and order by.