瀏覽代碼

Updated docs for fast column creation with defaults in PostgreSQL 11.

Damian Dimmich 6 年之前
父節點
當前提交
133e79399a
共有 1 個文件被更改,包括 3 次插入2 次删除
  1. 3 2
      docs/topics/migrations.txt

+ 3 - 2
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.