[2.1.x] Updated docs for fast column creation with defaults in PostgreSQL 11.
Backport of 133e79399a
from master.
This commit is contained in:
parent
4e6285c490
commit
0d4bbd3f33
|
@ -67,9 +67,10 @@ PostgreSQL
|
||||||
----------
|
----------
|
||||||
|
|
||||||
PostgreSQL is the most capable of all the databases here in terms of schema
|
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
|
support.
|
||||||
cause a full rewrite of the table, for a time proportional to its size.
|
|
||||||
|
|
||||||
|
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
|
For this reason, it's recommended you always create new columns with
|
||||||
``null=True``, as this way they will be added immediately.
|
``null=True``, as this way they will be added immediately.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue