• Adam Hegyi's avatar
    Make list partitioning strategy safer · d134a8f9
    Adam Hegyi authored
    This change adds two safeguard to the list partitioning strategy:
    
    - Explicitly lock the table as the first step when adding partitions.
    - Do not detach partition when its value is used as the default value
      of the partition key.
    d134a8f9
partition_manager_spec.rb 8.47 KB