Re: "truncate all"?

From: "Shridhar Daithankar" <shridhar_daithankar(at)persistent(dot)co(dot)in>
To: <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: "truncate all"?
Date: 2003-08-04 16:22:21
Message-ID: 3F2ED595.14865.5CF07B@localhost
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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?

Bye
Shridhar

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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2003-08-04 16:30:32 Re: Thread-safe configuration option appears to misfunction
Previous Message Tom Lane 2003-08-04 16:19:25 Re: "truncate all"?