Added PostgreSQL non-durable settings hint in docs.

Following discussion on django-developers:
https://groups.google.com/d/topic/django-developers/IkRgMxTTzPQ/discussion
This commit is contained in:
Federico Capoano 2015-07-21 14:51:58 +02:00 committed by Tim Graham
parent 5cedef9b50
commit 59c279e5e5
1 changed files with 13 additions and 0 deletions

View File

@ -169,6 +169,19 @@ lookups that use the ``LIKE`` operator in their SQL, as is done with the
.. _PostgreSQL operator class: http://www.postgresql.org/docs/current/static/indexes-opclass.html
Speeding up test execution with non-durable settings
----------------------------------------------------
You can speed up test execution times by `configuring PostgreSQL to be
non-durable <http://www.postgresql.org/docs/current/static/non-durability.html>`_.
.. warning::
This is dangerous: it will make your database more susceptible to data loss
or corruption in the case of a server crash or power loss. Only use this on
a development machine where you can easily restore the entire contents of
all databases in the cluster.
.. _mysql-notes:
MySQL notes