trigger for TRUNCATE?

From: Gerardo Herzig <gherzig(at)fmed(dot)uba(dot)ar>
To: "pgsql-sql(at)postgresql(dot)org" <pgsql-sql(at)postgresql(dot)org>
Subject: trigger for TRUNCATE?
Date: 2008-01-08 18:19:21
Message-ID: 4783BEA9.3020507@fmed.uba.ar
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Hi all. Acording to the docs, TRUNCATE will not fire a DELETE trigger on
the table being truncated.
There is a way to capture a TRUNCATE in any way?

Thanks!
Gerardo

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Erik Jones 2008-01-08 18:28:52 Re: How to keep at-most N rows per group? periodic DELETEs or constraints or..?
Previous Message codeWarrior 2008-01-08 17:53:57 Re: How to keep at-most N rows per group? periodic DELETEs or constraints or..?