Re: ITYM DROP TABLE - Mailing list pgsql-hackers

From David E. Wheeler
Subject Re: ITYM DROP TABLE
Date
Msg-id 8C07B33E-E58F-4786-BC45-4699FA3599BF@kineticode.com
Whole thread Raw
In response to Re: ITYM DROP TABLE  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: ITYM DROP TABLE
List 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 by date:

Previous
From: Merlin Moncure
Date:
Subject: Re: psql describe.c cleanup
Next
From: Alvaro Herrera
Date:
Subject: Re: ITYM DROP TABLE