Thread

  1. Re: Add SPLIT PARTITION/MERGE PARTITIONS commands

    Dmitry Koval <d.koval@postgrespro.ru> — 2025-06-24T21:28:28Z

    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