Re: Delete rule does not prevent truncate

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: Delete rule does not prevent truncate
Дата
Msg-id 20150724093206.GA8637@alap3.anarazel.de
обсуждение исходный текст
Ответ на Re: Delete rule does not prevent truncate  (Tim Smith <randomdev4+postgres@gmail.com>)
Ответы Re: Delete rule does not prevent truncate  ("Joshua D. Drake" <jd@commandprompt.com>)
Список pgsql-general
On 2015-07-24 10:29:21 +0100, Tim Smith wrote:
> That's not the point.  Backups are important, but so is the concept of
> various layers of anti-fat-finger protection.   Restoring off backups
> should be last resort, not first.

Oh, comeon. Install a TRUNCATE trigger and let this thread die.

Andres


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

Предыдущее
От: Tim Smith
Дата:
Сообщение: Re: Delete rule does not prevent truncate
Следующее
От: Andrew Sullivan
Дата:
Сообщение: Re: Delete rule does not prevent truncate