TRUNCATE

Поиск
Список
Период
Сортировка
От Rod Taylor
Тема TRUNCATE
Дата
Msg-id 02db01c1f9cd$1cd68fc0$0f02000a@jester
обсуждение исходный текст
Ответы Re: TRUNCATE  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
For my own protection I'm adding checks to truncate so that if there
is an ON DELETE trigger it will not execute the truncate command.

Anyway, should it really only be 'Disallow TRUNCATE on tables that are
involved in referential constraints'?

I'm thinking it should check for an on delete rule as well as user
triggers.


--
Rod



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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: Making the regression tests locale-proof
Следующее
От: Ian Barwick
Дата:
Сообщение: Re: Set Returning Functions (SRF) - request for patch review