summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorDamian Dimmich <damian@tauri-tec.com>2018-11-26 10:47:37 +0400
committerTim Graham <timograham@gmail.com>2018-11-26 10:13:29 -0500
commit0d4bbd3f3387e77fd86413e8fb6be655e524e7f1 (patch)
treee70189cef3eee258205ae166bbe7fef738aec978 /docs
parent4e6285c490d076b6d7eb20f6163f6ecd5cd70c07 (diff)
[2.1.x] Updated docs for fast column creation with defaults in PostgreSQL 11.
Backport of 133e79399a0aeecaca7379dd79cc1cc3f8b5e7ae from master.
Diffstat (limited to 'docs')
-rw-r--r--docs/topics/migrations.txt5
1 files changed, 3 insertions, 2 deletions
diff --git a/docs/topics/migrations.txt b/docs/topics/migrations.txt
index 4fc1fdd47e..8d68de071a 100644
--- a/docs/topics/migrations.txt
+++ b/docs/topics/migrations.txt
@@ -67,9 +67,10 @@ PostgreSQL
----------
PostgreSQL is the most capable of all the databases here in terms of schema
-support; the only caveat is that adding columns with default values will
-cause a full rewrite of the table, for a time proportional to its size.
+support.
+The only caveat is that prior to PostgreSQL 11, adding columns with default
+values causes a full rewrite of the table, for a time proportional to its size.
For this reason, it's recommended you always create new columns with
``null=True``, as this way they will be added immediately.