mirror of
https://github.com/django/django.git
synced 2025-01-26 18:19:18 +00:00
75ec1fdf16
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.