Re: Declarative partitioning - Mailing list pgsql-hackers

From Andrew Dunstan
Subject Re: Declarative partitioning
Date
Msg-id 55DB13AD.1060808@dunslane.net
Whole thread Raw
In response to Re: Declarative partitioning  (Simon Riggs <simon@2ndQuadrant.com>)
List pgsql-hackers

On 08/24/2015 03:46 AM, Simon Riggs wrote:
>
>
> ALTER TABLE foo ADD PARTITION NEXT;
>
> when a sequence of partitions has been defined
>
>


Or perhaps
   ALTER TABLE foo ADD PARTITION NEXT nn;


So you can set up, say, a week's worth of daily partitions at once.

I could also imagine a variant that allows you to specify partitions up 
to the one including some value.

cheers

andrew



pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: psql - better support pipe line
Next
From: Tom Lane
Date:
Subject: Re: exposing pg_controldata and pg_config as functions