Re: Yet another "drop table vs delete" question

Поиск
Список
Период
Сортировка
От Christophe
Тема Re: Yet another "drop table vs delete" question
Дата
Msg-id 2015F73A-6A49-4178-ABA3-859D88E10CE4@thebuild.com
обсуждение исходный текст
Ответ на Re: Yet another "drop table vs delete" question  (Peter Eisentraut <peter_e@gmx.net>)
Ответы Re: Yet another "drop table vs delete" question  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
On Apr 21, 2009, at 12:28 PM, Peter Eisentraut wrote:
> Yes, but if you are asking that question, you probably really want
> to use
> TRUNCATE.

The advantage of DROP TABLE being, of course, that DROP TABLE is
transactionally-safe, while TRUNCATE is not.

В списке pgsql-general по дате отправления:

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: Yet another "drop table vs delete" question
Следующее
От: Stephen Frost
Дата:
Сообщение: Re: PostgreSQL versus MySQL for GPS Data