trigger for TRUNCATE?

From: Gerardo Herzig
To: "pgsql-sql(at)postgresql(dot)org"
Subject: trigger for TRUNCATE?
Date: 2008-01-08 18:19:21
Message-ID: [email protected]
Views: Whole Thread | Raw Message | 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..?