Re: Auto creation of Partitions - Mailing list pgsql-hackers

From Zeugswetter Andreas ADI SD
Subject Re: Auto creation of Partitions
Date
Msg-id E1539E0ED7043848906A8FF995BDA57901D42FD2@m0143.s-mxs.net
Whole thread Raw
In response to Re: Auto creation of Partitions  ("Jim C. Nasby" <jim@nasby.net>)
Responses Re: Auto creation of Partitions
List pgsql-hackers
> > Since partition is inheritance-based, a simple DROP or  "NO
> INHERIT"
> > will do the job to deal with the partition. Do we want to reinvent
> > additional syntax when these are around and are documented?
>
> Well, if the syntax for adding a new partition eventually
> ends up as ALTER TABLE ADD PARTITION, then it would make more
> sense that you remove a partition via ALTER TABLE DROP PARTITION.

But DROP PARTITION usually moves the data from this partition to other
partitions,
so it is something different.

Andreas


pgsql-hackers by date:

Previous
From: Grzegorz Jaskiewicz
Date:
Subject: Re: RFC: changing autovacuum_naptime semantics
Next
From: Gaetano Mendola
Date:
Subject: Re: Calculated view fields (8.1 != 8.2)