Re: TRUNCATE question - Mailing list pgsql-hackers

From Mike Mascari
Subject Re: TRUNCATE question
Date
Msg-id 3B6A04E1.FED190CE@mascari.com
Whole thread Raw
In response to TRUNCATE question  ("Christopher Kings-Lynne" <chriskl@familyhealth.com.au>)
Responses Re: TRUNCATE question
List 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@mascari.com


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: patch for contrib/intarray (current CVS)
Next
From: Tom Lane
Date:
Subject: Re: AW: OID wraparound: summary and proposal