Fixed #28626 -- Dropped support for PostgreSQL 9.3.

Thanks Simon Charette for the introspection changes.
This commit is contained in:
Tim Graham 2017-09-06 10:26:45 -04:00
parent ea7ca5db30
commit 1d8cfa3608
13 changed files with 18 additions and 53 deletions

View file

@ -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