mirror of
				https://github.com/django/django.git
				synced 2025-10-31 09:41:08 +00:00 
			
		
		
		
	Added note about SELECT index in GROUP BY on Oracle 23c.
As this isn't enabled by default and would be unsafe to enforce, just add a comment to note that this has to stay disabled. https://docs.oracle.com/en/database/oracle/oracle-database/23/nfcoa/application-development.html#GUID-EDDF041F-C10D-4334-838A-706227D7BFE0
This commit is contained in:
		
				
					committed by
					
						 Mariusz Felisiak
						Mariusz Felisiak
					
				
			
			
				
	
			
			
			
						parent
						
							d88ec42bd0
						
					
				
				
					commit
					39a00f39c5
				
			| @@ -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 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user