summaryrefslogtreecommitdiff
path: root/docs/ref
diff options
context:
space:
mode:
authorMads Jensen <mje@inducks.org>2016-10-13 14:39:44 +0200
committerMads Jensen <mje@inducks.org>2017-01-15 13:37:18 +0100
commite585c43be91fb3e5005ddb4191f64142c62a2ec3 (patch)
tree6d4aade646ed38ed5cf94b080ec0a26bc8327a4f /docs/ref
parent236ebe94bfe24d394d5b49f4405da445550e8aa6 (diff)
Fixed #25809 -- Added BrinIndex support in django.contrib.postgres.
Thanks Tim Graham and Markus Holtermann for review.
Diffstat (limited to 'docs/ref')
-rw-r--r--docs/ref/contrib/postgres/indexes.txt10
1 files changed, 10 insertions, 0 deletions
diff --git a/docs/ref/contrib/postgres/indexes.txt b/docs/ref/contrib/postgres/indexes.txt
index 9b8ab5ffa2..0995d1b75e 100644
--- a/docs/ref/contrib/postgres/indexes.txt
+++ b/docs/ref/contrib/postgres/indexes.txt
@@ -9,6 +9,16 @@ PostgreSQL specific model indexes
The following are PostgreSQL specific :doc:`indexes </ref/models/indexes>`
available from the ``django.contrib.postgres.indexes`` module.
+``BrinIndex``
+=============
+
+.. class:: BrinIndex(pages_per_range=None)
+
+ Creates a `BRIN index
+ <https://www.postgresql.org/docs/current/static/brin-intro.html>`_. For
+ performance considerations and use cases of the index, please consult the
+ documentation.
+
``GinIndex``
============