Fixed #25809 -- Added BrinIndex support in django.contrib.postgres.

Thanks Tim Graham and Markus Holtermann for review.
This commit is contained in:
Mads Jensen 2016-10-13 14:39:44 +02:00
parent 236ebe94bf
commit e585c43be9
8 changed files with 121 additions and 14 deletions

View file

@ -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``
============