Re: Declarative partitioning

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: Declarative partitioning
Дата
Msg-id 55DB13AD.1060808@dunslane.net
обсуждение исходный текст
Ответ на Re: Declarative partitioning  (Simon Riggs <simon@2ndQuadrant.com>)
Список 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 по дате отправления:

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: Re: psql - better support pipe line
Следующее
От: Tom Lane
Дата:
Сообщение: Re: exposing pg_controldata and pg_config as functions