summaryrefslogtreecommitdiff
path: root/docs/ref
diff options
context:
space:
mode:
authorFederico Capoano <nemesis@ninux.org>2015-07-21 14:51:58 +0200
committerTim Graham <timograham@gmail.com>2015-07-21 13:38:25 -0400
commit59c279e5e55de51640f7136063bc1880f2ad72d1 (patch)
tree30479b52ecd8da4095053b80151c2e701561e083 /docs/ref
parent5cedef9b503c127283bba0bf68d5728f094bba4a (diff)
Added PostgreSQL non-durable settings hint in docs.
Following discussion on django-developers: https://groups.google.com/d/topic/django-developers/IkRgMxTTzPQ/discussion
Diffstat (limited to 'docs/ref')
-rw-r--r--docs/ref/databases.txt13
1 files changed, 13 insertions, 0 deletions
diff --git a/docs/ref/databases.txt b/docs/ref/databases.txt
index ac25f00791..96829724b5 100644
--- a/docs/ref/databases.txt
+++ b/docs/ref/databases.txt
@@ -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