Re: Auto creation of Partitions

From: "Zeugswetter Andreas ADI SD" <ZeugswetterA(at)spardat(dot)at>
To: "Jim C(dot) Nasby" <jim(at)nasby(dot)net>, "NikhilS" <nikkhils(at)gmail(dot)com>
Cc: "Jim Nasby" <decibel(at)decibel(dot)org>, "Shane Ambler" <pgsql(at)sheeky(dot)biz>, "Peter Eisentraut" <peter_e(at)gmx(dot)net>, <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Auto creation of Partitions
Date: 2007-03-09 09:31:27
Message-ID: E1539E0ED7043848906A8FF995BDA57901D42FD2@m0143.s-mxs.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches


> > 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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Cao Yu 2007-03-09 09:38:07 A naive question about the Makefile
Previous Message Grzegorz Jaskiewicz 2007-03-09 08:39:00 Re: RFC: changing autovacuum_naptime semantics

Browse pgsql-patches by date

  From Date Subject
Next Message Peter Eisentraut 2007-03-09 10:21:00 Re: suggestion for improving TMPDIR and "--format" docs for pg_dump
Previous Message NikhilS 2007-03-09 06:29:17 Re: log_autovacuum