Re: "truncate all"?

Поиск
Список
Период
Сортировка
От Shridhar Daithankar
Тема Re: "truncate all"?
Дата
Msg-id 3F2ED595.14865.5CF07B@localhost
обсуждение исходный текст
Ответ на Re: "truncate all"?  ("scott.marlowe" <scott.marlowe@ihs.com>)
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: "truncate all"?
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Thread-safe configuration option appears to misfunction