Fixed #31183 -- Added a feature flag for "<db> only supports UNBOUNDED together with PRECEDING and FOLLOWING".

This commit is contained in:
Tim Graham 2020-01-19 18:30:54 -05:00 committed by Mariusz Felisiak
parent 2a2ea4ee18
commit 227d0c7365
5 changed files with 19 additions and 18 deletions

View file

@ -52,6 +52,7 @@ class DatabaseFeatures(BaseDatabaseFeatures):
$$ LANGUAGE plpgsql;"""
requires_casted_case_in_updates = True
supports_over_clause = True
only_supports_unbounded_with_preceding_and_following = True
supports_aggregate_filter_clause = True
supported_explain_formats = {'JSON', 'TEXT', 'XML', 'YAML'}
validates_explain_options = False # A query will error on invalid options.