mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Fixed #30943 -- Added BloomIndex to django.contrib.postgres.
This commit is contained in:
committed by
Mariusz Felisiak
parent
26554cf5d1
commit
02983c5242
@@ -68,6 +68,7 @@ class DatabaseFeatures(BaseDatabaseFeatures):
|
||||
def is_postgresql_12(self):
|
||||
return self.connection.pg_version >= 120000
|
||||
|
||||
has_bloom_index = property(operator.attrgetter('is_postgresql_9_6'))
|
||||
has_brin_autosummarize = property(operator.attrgetter('is_postgresql_10'))
|
||||
has_phraseto_tsquery = property(operator.attrgetter('is_postgresql_9_6'))
|
||||
supports_table_partitions = property(operator.attrgetter('is_postgresql_10'))
|
||||
|
||||
Reference in New Issue
Block a user