0
0
mirror of https://github.com/django/django.git synced 2024-12-01 15:42:04 +01:00

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

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