Re: Delete rule does not prevent truncate

From: Andres Freund <andres(at)anarazel(dot)de>
To: Tim Smith <randomdev4+postgres(at)gmail(dot)com>
Cc: Rob Sargent <robjsargent(at)gmail(dot)com>, Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>, pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: Delete rule does not prevent truncate
Date: 2015-07-24 09:32:06
Message-ID: 20150724093206.GA8637@alap3.anarazel.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Andrew Sullivan 2015-07-24 10:09:19 Re: Delete rule does not prevent truncate
Previous Message Tim Smith 2015-07-24 09:29:21 Re: Delete rule does not prevent truncate