summaryrefslogtreecommitdiff
path: root/docs/ref
diff options
context:
space:
mode:
authorNick Pope <nick.pope@flightdataservices.com>2018-07-30 23:28:11 +0100
committerTim Graham <timograham@gmail.com>2018-08-02 11:42:57 -0400
commit6b4d1ec8ff97cff4f1683912b0147d22410b05b8 (patch)
tree07604a2c67f6378cc96084445ecd90fe8a0a23ea /docs/ref
parentd6381d3559b469ce25f4906151b9329c1f946f14 (diff)
Fixed #29614 -- Added BTreeIndex to django.contrib.postres.
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``
============