summaryrefslogtreecommitdiff
path: root/django/db/backends/postgresql
diff options
context:
space:
mode:
authorMariusz Felisiak <felisiak.mariusz@gmail.com>2020-05-14 06:33:00 +0200
committerGitHub <noreply@github.com>2020-05-14 06:33:00 +0200
commite536fa5ce1f2249d171c5890751aea58e51b3849 (patch)
tree53447f081c4a61b357453b038a135c09643d3a63 /django/db/backends/postgresql
parent50798d43898c7d46926a4292f86fdf3859a433da (diff)
Fixed #31579 -- Dropped support for PostgreSQL 9.5 and PostGIS 2.2.
Diffstat (limited to 'django/db/backends/postgresql')
-rw-r--r--django/db/backends/postgresql/features.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/django/db/backends/postgresql/features.py b/django/db/backends/postgresql/features.py
index 00a8009cf2..80cee8e8da 100644
--- a/django/db/backends/postgresql/features.py
+++ b/django/db/backends/postgresql/features.py
@@ -60,10 +60,6 @@ class DatabaseFeatures(BaseDatabaseFeatures):
supports_deferrable_unique_constraints = True
@cached_property
- def is_postgresql_9_6(self):
- return self.connection.pg_version >= 90600
-
- @cached_property
def is_postgresql_10(self):
return self.connection.pg_version >= 100000
@@ -75,8 +71,6 @@ 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'))
has_websearch_to_tsquery = property(operator.attrgetter('is_postgresql_11'))
supports_table_partitions = property(operator.attrgetter('is_postgresql_10'))