Re: TRUNCATE question

From: Mike Mascari <mascarm(at)mascari(dot)com>
To: Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>
Cc: Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: TRUNCATE question
Date: 2001-08-03 01:56:49
Message-ID: 3B6A04E1.FED190CE@mascari.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Christopher Kings-Lynne wrote:
>
> Is TRUNCATE supposed to be equivalent to DELETE FROM blah?
>
> Because I notice that DELETE triggers are not called when you truncate a
> table... Isn't that a bad thing?

It's supposed to work that way - same as Oracle.

Mike Mascari
mascarm(at)mascari(dot)com

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2001-08-03 01:57:31 Re: AW: OID wraparound: summary and proposal
Previous Message Tom Lane 2001-08-03 01:47:42 Re: patch for contrib/intarray (current CVS)