mirror of
https://github.com/django/django.git
synced 2025-08-07 12:28:18 +00:00
Fixed #28626 -- Dropped support for PostgreSQL 9.3.
Thanks Simon Charette for the introspection changes.
This commit is contained in:
parent
ea7ca5db30
commit
1d8cfa3608
13 changed files with 18 additions and 53 deletions
|
@ -49,10 +49,7 @@ class DatabaseFeatures(BaseDatabaseFeatures):
|
|||
END;
|
||||
$$ LANGUAGE plpgsql;"""
|
||||
supports_over_clause = True
|
||||
|
||||
@cached_property
|
||||
def supports_aggregate_filter_clause(self):
|
||||
return self.connection.pg_version >= 90400
|
||||
supports_aggregate_filter_clause = True
|
||||
|
||||
@cached_property
|
||||
def has_select_for_update_skip_locked(self):
|
||||
|
@ -62,10 +59,6 @@ class DatabaseFeatures(BaseDatabaseFeatures):
|
|||
def has_brin_index_support(self):
|
||||
return self.connection.pg_version >= 90500
|
||||
|
||||
@cached_property
|
||||
def has_jsonb_datatype(self):
|
||||
return self.connection.pg_version >= 90400
|
||||
|
||||
@cached_property
|
||||
def has_jsonb_agg(self):
|
||||
return self.connection.pg_version >= 90500
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue