summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorAdam Johnson <me@adamj.eu>2020-06-23 10:31:46 +0100
committerGitHub <noreply@github.com>2020-06-23 11:31:46 +0200
commit0ff322884484d9ee81877006825f4a167ab82eb5 (patch)
tree516c7f4c492bfc980d7e635daff881cf9c789916 /docs
parent02ea98bc2ff972f7705bfffb24843494086d011f (diff)
Made small improvements to PostgreSQL operations docs.
Diffstat (limited to 'docs')
-rw-r--r--docs/ref/contrib/postgres/operations.txt16
1 files changed, 8 insertions, 8 deletions
diff --git a/docs/ref/contrib/postgres/operations.txt b/docs/ref/contrib/postgres/operations.txt
index 8571cc84e8..5e4c7af6a5 100644
--- a/docs/ref/contrib/postgres/operations.txt
+++ b/docs/ref/contrib/postgres/operations.txt
@@ -30,8 +30,7 @@ For example::
...
]
-Django checks that the extension already exists in the database and skips the
-migration if so.
+The operation skips adding the extension if it already exists.
For most extensions, this requires a database user with superuser privileges.
If the Django database user doesn't have the appropriate privileges, you'll
@@ -41,7 +40,7 @@ them. In that case, connect to your Django database and run the query
.. versionchanged:: 3.2
- In older versions, the existence of an extension isn't checked.
+ In older versions, the pre-existence of the extension isn't checked.
.. currentmodule:: django.contrib.postgres.operations
@@ -50,7 +49,8 @@ them. In that case, connect to your Django database and run the query
.. class:: CreateExtension(name)
- An ``Operation`` subclass which installs PostgreSQL extensions.
+ An ``Operation`` subclass which installs a PostgreSQL extension. For common
+ extensions, use one of the more specific subclasses below.
.. attribute:: name
@@ -63,21 +63,21 @@ them. In that case, connect to your Django database and run the query
.. versionadded:: 3.1
- Install the ``bloom`` extension.
+ Installs the ``bloom`` extension.
``BtreeGinExtension``
=====================
.. class:: BtreeGinExtension()
- Install the ``btree_gin`` extension.
+ Installs the ``btree_gin`` extension.
``BtreeGistExtension``
======================
.. class:: BtreeGistExtension()
- Install the ``btree_gist`` extension.
+ Installs the ``btree_gist`` extension.
``CITextExtension``
===================
@@ -115,7 +115,7 @@ them. In that case, connect to your Django database and run the query
Installs the ``unaccent`` extension.
-Index concurrent operations
+Concurrent index operations
===========================
PostgreSQL supports the ``CONCURRENTLY`` option to ``CREATE INDEX`` and