Daniel Baldoni <pgsql(at)lcds(dot)com(dot)au> writes:
> Forgive this if it's totally "out there" but I was wondering why there's no
> support for triggers on a TRUNCATE operation.
Because the entire point of TRUNCATE is not to scan the table contents.
If you want to fire triggers, just use "DELETE FROM foo".
regards, tom lane
In response to
pgsql-hackers by date
|Next:||From: Marc G. Fournier||Date: 2004-07-26 15:34:56|
|Subject: Re: CVS web interface error |
|Previous:||From: Tom Lane||Date: 2004-07-26 14:46:56|
|Subject: Re: Weird...but correct? |