mirror of
https://github.com/django/django.git
synced 2025-08-03 18:38:50 +00:00
Fixed #29614 -- Added BTreeIndex to django.contrib.postres.
This commit is contained in:
parent
d6381d3559
commit
6b4d1ec8ff
5 changed files with 86 additions and 5 deletions
|
@ -26,6 +26,20 @@ available from the ``django.contrib.postgres.indexes`` module.
|
|||
|
||||
The ``autosummarize`` parameter was added.
|
||||
|
||||
``BTreeIndex``
|
||||
==============
|
||||
|
||||
.. class:: BTreeIndex(fillfactor=None, **options)
|
||||
|
||||
.. versionadded:: 2.2
|
||||
|
||||
Creates a B-Tree index.
|
||||
|
||||
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
|
||||
|
||||
``GinIndex``
|
||||
============
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue