mirror of
https://github.com/django/django.git
synced 2025-08-04 02:48:35 +00:00
Fixed #28887 -- Added SpGistIndex to django.contrib.postgres.
This commit is contained in:
parent
d526b07784
commit
4c36e9e492
4 changed files with 82 additions and 4 deletions
|
@ -91,3 +91,18 @@ available from the ``django.contrib.postgres.indexes`` module.
|
|||
they suffer from a number of data integrity issues in older versions.
|
||||
|
||||
.. _fillfactor: https://www.postgresql.org/docs/current/static/sql-createindex.html#SQL-CREATEINDEX-STORAGE-PARAMETERS
|
||||
|
||||
``SpGistIndex``
|
||||
===============
|
||||
|
||||
.. class:: SpGistIndex(fillfactor=None, **options)
|
||||
|
||||
.. versionadded:: 2.2
|
||||
|
||||
Creates an `SP-GiST index
|
||||
<https://www.postgresql.org/docs/current/static/spgist.html>`_.
|
||||
|
||||
Provide an integer value from 10 to 100 to the fillfactor_ parameter to
|
||||
tune how packed the index pages will be. PostgreSQL's default is 90.
|
||||
|
||||
.. _fillfactor: https://www.postgresql.org/docs/current/static/sql-createindex.html#SQL-CREATEINDEX-STORAGE-PARAMETERS
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue