Re: about truncate - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: about truncate
Date
Msg-id 200812240955.13923.peter_e@gmx.net
Whole thread Raw
In response to about truncate  ("Jaime Casanova" <jcasanov@systemguards.com.ec>)
Responses Re: about truncate
List pgsql-hackers
On Monday 22 December 2008 05:09:54 Jaime Casanova wrote:
> just out of curiosity, why TRUNCATE doesn't support ONLY?

It was probably just an omission.

Note that TRUNCATE currently does not act on inheriting tables.  In other 
words, the behavior is already like ONLY.

FWIW, the SQL standard says that TRUNCATE should support ONLY, just like 
DELETE.

Something should probably be fixed or at least documented about this.


pgsql-hackers by date:

Previous
From: "Fujii Masao"
Date:
Subject: Archiving control (a part of synch rep patches)
Next
From: "Fujii Masao"
Date:
Subject: Re: Synchronous replication, reading WAL for sending