Thread

  1. Re: Add SPLIT PARTITION/MERGE PARTITIONS commands

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

    Hi!
    
     >v46-0001-regress-test-refactoring-and-others.no-cfbot
    Thanks, applied. Two comments:
    
     >+ errmsg("relation \"%s\" already exists", cmd->name->relname));
     >There are no regress tests for this, I have added a simple test for it.
    
    Test for this is in the second commit (SPLIT PARTITION) but
    it's okay to have test here.
    
     >+SELECT tableoid::regclass, * FROM sales_range ORDER BY ...
    
    Similar changes are also made for SPLIT PARTITION.
    
    -- 
    With best regards,
    Dmitry Koval
    
    Postgres Professional: http://postgrespro.com