diff --git a/django/db/backends/oracle/features.py b/django/db/backends/oracle/features.py index f7937f24e35..b3531a7cc71 100644 --- a/django/db/backends/oracle/features.py +++ b/django/db/backends/oracle/features.py @@ -8,6 +8,9 @@ class DatabaseFeatures(BaseDatabaseFeatures): # Oracle crashes with "ORA-00932: inconsistent datatypes: expected - got # BLOB" when grouping by LOBs (#24096). allows_group_by_lob = False + # Although GROUP BY select index is supported by Oracle 23c+, it requires + # GROUP_BY_POSITION_ENABLED to be enabled to avoid backward compatibility + # issues. Introspection of this settings is not straightforward. allows_group_by_select_index = False interprets_empty_strings_as_nulls = True has_select_for_update = True