mirror of
https://github.com/django/django.git
synced 2025-08-04 02:48:35 +00:00
Fixed #28990 -- Added autosummarize parameter to BrinIndex.
This commit is contained in:
parent
4c36e9e492
commit
d6381d3559
6 changed files with 45 additions and 4 deletions
|
@ -10,13 +10,22 @@ available from the ``django.contrib.postgres.indexes`` module.
|
|||
``BrinIndex``
|
||||
=============
|
||||
|
||||
.. class:: BrinIndex(pages_per_range=None, **options)
|
||||
.. class:: BrinIndex(autosummarize=None, pages_per_range=None, **options)
|
||||
|
||||
Creates a `BRIN index
|
||||
<https://www.postgresql.org/docs/current/static/brin-intro.html>`_.
|
||||
|
||||
Set the ``autosummarize`` parameter to ``True`` to enable `automatic
|
||||
summarization`_ to be performed by autovacuum.
|
||||
|
||||
The ``pages_per_range`` argument takes a positive integer.
|
||||
|
||||
.. _automatic summarization: https://www.postgresql.org/docs/current/static/brin-intro.html#BRIN-OPERATION
|
||||
|
||||
.. versionchanged:: 2.2
|
||||
|
||||
The ``autosummarize`` parameter was added.
|
||||
|
||||
``GinIndex``
|
||||
============
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue