Re: Add SPLIT PARTITION/MERGE PARTITIONS commands

Поиск
Список
Период
Сортировка
От Dmitry Koval
Тема Re: Add SPLIT PARTITION/MERGE PARTITIONS commands
Дата
Msg-id da035c5a-bd58-45ea-938d-71857c981147@postgrespro.ru
обсуждение исходный текст
Ответ на Re: Add SPLIT PARTITION/MERGE PARTITIONS commands  (stephane tachoires <stephane.tachoires@gmail.com>)
Список pgsql-hackers
Hi!
Thanks for notes!

1.
 >here, we don't need ``(void *)``

Corrected.


2.
 >In the synopsis section, we can combine the last two lines into one
 >for better formatting.

Changed.


3.
 > after ...
 >we can add the following to briefly explain parameters: partition_name1,
 >partition_name2

Added.


4.
 >What do you think about alternative syntax:
 >ALTER TABLE tab1 MERGE PARTITION part1 WITH (part2, part3) mentioned 
in [1].
 >....

Is it additional syntax (to the existing one) with functionality: 
partition part1 survives and data from partitions part2, part3 is moved 
into part1?
And (if "yes") should we delete the part1 indexes (or other constraints) 
before moving the data?


[1] 
https://postgr.es/m/CA+TgmoY0=bT_xBP8csR=MFE=FxGE2n2-me2-31jBOgEcLvW7ug@mail.gmail.com

-- 
With best regards,
Dmitry Koval

Postgres Professional: http://postgrespro.com

Вложения

В списке pgsql-hackers по дате отправления: