Re: ITYM DROP TABLE

Поиск
Список
Период
Сортировка
От David E. Wheeler
Тема Re: ITYM DROP TABLE
Дата
Msg-id 8C07B33E-E58F-4786-BC45-4699FA3599BF@kineticode.com
обсуждение исходный текст
Ответ на Re: ITYM DROP TABLE  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: ITYM DROP TABLE  (Alvaro Herrera <alvherre@commandprompt.com>)
Список pgsql-hackers
On Jun 14, 2011, at 8:03 AM, Tom Lane wrote:

>> -      <command>ALTER TABLE</> is far faster than a bulk operation.
>> +      <command>ALTER TABLE</> (to split out a sub-table from the partitioned
>> +      table) and <command>DROP TABLE</> (to remove a partition altogether) are
>> +      both far faster than a bulk operation.
>
> I think you need to spell out "ALTER TABLE NO INHERIT" if you are going
> to do that.  This formulation seems to imply that *any* form of ALTER
> TABLE is fast, which surely ain't the truth.
>
>> However, this introductory text is supposed to be very brief; maybe we
>> should remove mention of specific commands here.
>
> No, I don't think it needs to be that brief.  But if you think your
> version is too long, remove the parenthetical remarks.

+1 I think that would be perfect.

Best,

David



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

Предыдущее
От: Merlin Moncure
Дата:
Сообщение: Re: psql describe.c cleanup
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: ITYM DROP TABLE