Clarified when activating the btree_gin extension is necessary.

This commit is contained in:
Akshesh 2016-08-14 03:49:43 +05:30 committed by Tim Graham
parent 698be78d74
commit 7c9bd07f69
1 changed files with 3 additions and 1 deletions

View File

@ -17,7 +17,9 @@ available from the ``django.contrib.postgres.indexes`` module.
Creates a `gin index
<https://www.postgresql.org/docs/current/static/gin.html>`_.
To use this index, you need to activate the `btree_gin extension
To use this index on data types not in the `built-in operator classes
<https://www.postgresql.org/docs/current/static/gin-builtin-opclasses.html>`_,
you need to activate the `btree_gin extension
<https://www.postgresql.org/docs/current/static/btree-gin.html>`_ on
PostgreSQL. You can install it using the
:class:`~django.contrib.postgres.operations.BtreeGinExtension` migration