AW: Proposal: TRUNCATE TABLE table RESTRICT

Поиск
Список
Период
Сортировка
От Zeugswetter Andreas SB
Тема AW: Proposal: TRUNCATE TABLE table RESTRICT
Дата
Msg-id 219F68D65015D011A8E000006F8590C604AF7DD1@sdexcsrv1.f000.d0188.sd.spardat.at
обсуждение исходный текст
Список pgsql-hackers

> > How about this: Prevent truncate on table referenced by foreign key
> > 
> 
> Actually, I made it:
> 
>     * Prevent truncate on table with a referential integrity trigger
> 
> Is that good?

No, I think that is only one point. I think you also need to
check if tables that are referencing this table are empty.

Andreas


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