mirror of
https://github.com/django/django.git
synced 2025-08-07 20:38:21 +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
|
@ -57,7 +57,12 @@ class DatabaseFeatures(BaseDatabaseFeatures):
|
|||
def is_postgresql_9_5(self):
|
||||
return self.connection.pg_version >= 90500
|
||||
|
||||
@cached_property
|
||||
def is_postgresql_10(self):
|
||||
return self.connection.pg_version >= 100000
|
||||
|
||||
has_select_for_update_skip_locked = is_postgresql_9_5
|
||||
has_brin_index_support = is_postgresql_9_5
|
||||
has_jsonb_agg = is_postgresql_9_5
|
||||
has_brin_autosummarize = is_postgresql_10
|
||||
has_gin_pending_list_limit = is_postgresql_9_5
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue