summaryrefslogtreecommitdiff
path: root/docs/ref
diff options
context:
space:
mode:
Diffstat (limited to 'docs/ref')
-rw-r--r--docs/ref/contrib/postgres/indexes.txt14
1 files changed, 14 insertions, 0 deletions
diff --git a/docs/ref/contrib/postgres/indexes.txt b/docs/ref/contrib/postgres/indexes.txt
index cb0decc9a1..ef19384fb8 100644
--- a/docs/ref/contrib/postgres/indexes.txt
+++ b/docs/ref/contrib/postgres/indexes.txt
@@ -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``
============