Re: "truncate all"? - Mailing list pgsql-hackers

From Shridhar Daithankar
Subject Re: "truncate all"?
Date
Msg-id 3F2ED595.14865.5CF07B@localhost
Whole thread Raw
In response to Re: "truncate all"?  ("scott.marlowe" <scott.marlowe@ihs.com>)
List pgsql-hackers
On 4 Aug 2003 at 10:03, scott.marlowe wrote:

> I agree, a plain truncate blasting a whole database is a very bad thing.
> 
> however, "truncate with cascade" would be quite useful.

If we could get something simple as getting schema of a table, dropping the 
table and recreating empty table, then it should be easy to emulate truncate..

Or is it done that way already?

ByeShridhar

--
Either one of us, by himself, is expendable.  Both of us are not.        -- Kirk, 
"The Devil in the Dark", stardate 3196.1



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: "truncate all"?
Next
From: Bruce Momjian
Date:
Subject: Re: Thread-safe configuration option appears to misfunction