• Marti Raudsepp's avatar
    Clarifed table rewrites in migration docs. · 75ec1fdf
    Marti Raudsepp yazdı
    Small nitpicks. All column-related ALTER TABLE commands take an
    exclusive table lock in PostgreSQL. The difference is that adding a
    column without default doesn't cause a table rewrite, so the lock is
    held only for a short time.
    
    The time taken is more accurately proportional to table size, not row
    count.
    75ec1fdf
migrations.txt 12.7 KB