Mariusz Felisiak 
							
						 
					 
					
						
						
							
						
						17160819f3 
					 
					
						
						
							
							Fixed   #36105  -- Dropped support for MariaDB 10.5.  
						
						
						
						
					 
					
						2025-02-09 12:57:40 +01:00 
						 
				 
			
				
					
						
							
							
								Simon Charette 
							
						 
					 
					
						
						
							
						
						4608d34b34 
					 
					
						
						
							
							Fixed   #36088  -- Avoided unnecessary DEFAULT usage on bulk_create().  
						
						... 
						
						
						
						When all values of a field with a db_default are DatabaseDefault, which
is the case most of the time, there is no point in specifying explicit
DEFAULT for all INSERT VALUES as that's what the database will do anyway
if not specified.
In the case of PostgreSQL doing so can even be harmful as it prevents
the usage of the UNNEST strategy and in the case of Oracle, which
doesn't support the usage of the DEFAULT keyword, it unnecessarily
requires providing literal db defaults.
Thanks Lily Foote for the review. 
						
						
					 
					
						2025-02-01 18:43:10 +01:00 
						 
				 
			
				
					
						
							
							
								Sarah Boyce 
							
						 
					 
					
						
						
							
						
						5a2c1bc07d 
					 
					
						
						
							
							Fixed   #36118  -- Accounted for multiple primary keys in bulk_update max_batch_size.  
						
						... 
						
						
						
						Co-authored-by: Simon Charette <charette.s@gmail.com > 
						
						
					 
					
						2025-01-29 09:11:54 +00:00 
						 
				 
			
				
					
						
							
							
								Jacob Walls 
							
						 
					 
					
						
						
							
						
						330d89d4fe 
					 
					
						
						
							
							Fixed   #36111  -- Fixed test --debug-sql crash on Oracle when no prior query has executed.  
						
						
						
						
					 
					
						2025-01-25 18:06:11 +01:00 
						 
				 
			
				
					
						
							
							
								Mariusz Felisiak 
							
						 
					 
					
						
						
							
						
						ec8cbea91e 
					 
					
						
						
							
							Refs  #35448  -- Fixed BackendTestCase.test_queries_logger() on Oracle < 23c.  
						
						
						
						
					 
					
						2025-01-20 07:53:45 +01:00 
						 
				 
			
				
					
						
							
							
								Tim Graham 
							
						 
					 
					
						
						
							
						
						d8f093908c 
					 
					
						
						
							
							Fixed   #35448  -- Fixed formatting of test --debug-sql output.  
						
						... 
						
						
						
						Also adds DatabaseOperations.format_debug_sql() hook for backends
(e.g. NoSQL) to customize formatting. 
						
						
					 
					
						2025-01-18 07:04:57 +01:00 
						 
				 
			
				
					
						
							
							
								Sarah Boyce 
							
						 
					 
					
						
						
							
						
						b4bc393b23 
					 
					
						
						
							
							Refs  #33817  -- Removed support for cx_Oracle per deprecation timeline.  
						
						
						
						
					 
					
						2025-01-15 22:28:37 +01:00 
						 
				 
			
				
					
						
							
							
								Sarah Boyce 
							
						 
					 
					
						
						
							
						
						6b271ef21d 
					 
					
						
						
							
							Refs  #34547  -- Removed DatabaseOperations.field_cast_sql() per deprecation timeline.  
						
						
						
						
					 
					
						2025-01-15 22:28:37 +01:00 
						 
				 
			
				
					
						
							
							
								suraj 
							
						 
					 
					
						
						
							
						
						0d9872fc9a 
					 
					
						
						
							
							Fixed   #7732  -- Added support for connection pools on Oracle.  
						
						
						
						
					 
					
						2024-12-17 11:26:32 +01:00 
						 
				 
			
				
					
						
							
							
								Tim Graham 
							
						 
					 
					
						
						
							
						
						94436dee57 
					 
					
						
						
							
							Refs  #29850  -- Removed obsolete test_window_frame_raise_not_supported_error.  
						
						... 
						
						
						
						This NotSupportedError was removed in 6375cee490 
						
						
					 
					
						2024-12-16 13:42:21 +01:00 
						 
				 
			
				
					
						
							
							
								Simon Charette 
							
						 
					 
					
						
						
							
						
						a16eedcf9c 
					 
					
						
						
							
							Fixed   #35936  -- Used unnest for bulk inserts on Postgres when possible.  
						
						... 
						
						
						
						This should make bulk_create significantly faster on Postgres when provided
only literal values.
Thanks James Sewell for writing about this technique, Tom Forbes for
validating the performance benefits, David Sanders and Mariusz Felisiak
for the review. 
						
						
					 
					
						2024-12-11 13:56:18 +01:00 
						 
				 
			
				
					
						
							
							
								Sarah Boyce 
							
						 
					 
					
						
						
							
						
						7380ac5734 
					 
					
						
						
							
							Fixed   #35688  -- Restored timezone and role setters to be PostgreSQL DatabaseWrapper methods.  
						
						... 
						
						
						
						Following the addition of PostgreSQL connection pool support in
Refs #33497 , the methods for configuring the database role and timezone
were moved to module-level functions. This change prevented subclasses
of DatabaseWrapper from overriding these methods as needed, for example,
when creating wrappers for other PostgreSQL-based backends.
Thank you Christian Hardenberg for the report and to
Florian Apolloner and Natalia Bidart for the review.
Regression in fad334e1a9124304+nessita@users.noreply.github.com > 
						
						
					 
					
						2024-08-28 19:25:07 -03:00 
						 
				 
			
				
					
						
							
							
								Simon Charette 
							
						 
					 
					
						
						
							
						
						a69f895d7d 
					 
					
						
						
							
							Refs  #34547  -- Adjusted deprecation warning stacklevel in DatabaseOperations.field_cast_sql().  
						
						
						
						
					 
					
						2024-08-28 11:44:05 -03:00 
						 
				 
			
				
					
						
							
							
								Simon Charette 
							
						 
					 
					
						
						
							
						
						5e81a4e790 
					 
					
						
						
							
							Refs  #12581  -- Adjusted warning stacklevel in queries ring buffer.  
						
						
						
						
					 
					
						2024-08-28 11:44:05 -03:00 
						 
				 
			
				
					
						
							
							
								Tim Graham 
							
						 
					 
					
						
						
							
						
						bc9b6251e0 
					 
					
						
						
							
							Added supports_sequence_reset skip in backends tests.  
						
						
						
						
					 
					
						2024-08-26 12:53:08 -03:00 
						 
				 
			
				
					
						
							
							
								Jacob Walls 
							
						 
					 
					
						
						
							
						
						99f23eaabd 
					 
					
						
						
							
							Fixed   #35469  -- Removed deferred SQL to create index removed by AlterField operation.  
						
						
						
						
					 
					
						2024-05-28 12:44:07 +02:00 
						 
				 
			
				
					
						
							
							
								Mariusz Felisiak 
							
						 
					 
					
						
						
							
						
						b049bec7cf 
					 
					
						
						
							
							Fixed   #35479  -- Dropped support for PostgreSQL 13 and PostGIS 3.0.  
						
						
						
						
					 
					
						2024-05-27 09:49:25 +02:00 
						 
				 
			
				
					
						
							
							
								Mariusz Felisiak 
							
						 
					 
					
						
						
							
						
						85c154da2f 
					 
					
						
						
							
							Fixed   #35412  -- Dropped support for SQLite < 3.31.  
						
						
						
						
					 
					
						2024-04-29 11:07:54 +02:00 
						 
				 
			
				
					
						
							
							
								Sarah Boyce 
							
						 
					 
					
						
						
							
						
						f973a70bfc 
					 
					
						
						
							
							Made postgresql.tests.Tests.test_connect_pool less flaky by increasing timeout value.  
						
						
						
						
					 
					
						2024-04-10 14:09:52 -03:00 
						 
				 
			
				
					
						
							
							
								Mariusz Felisiak 
							
						 
					 
					
						
						
							
						
						921670c694 
					 
					
						
						
							
							Fixed ResourceWarning from unclosed SQLite connection on Python 3.13+.  
						
						... 
						
						
						
						On SQLite, close() doesn't explicitly close in-memory connections.
Follow up to dd45d5223b 
						
						
					 
					
						2024-03-19 10:03:12 +01:00 
						 
				 
			
				
					
						
							
							
								Michail Chatzis 
							
						 
					 
					
						
						
							
						
						4426b1a72d 
					 
					
						
						
							
							Fixed   #35021  -- Fixed capturing queries when using client-side parameters binding with psycopg 3+.  
						
						
						
						
					 
					
						2024-03-06 11:24:58 +01:00 
						 
				 
			
				
					
						
							
							
								Sarah Boyce 
							
						 
					 
					
						
						
							
						
						fad334e1a9 
					 
					
						
						
							
							Refs  #33497  -- Added connection pool support for PostgreSQL.  
						
						... 
						
						
						
						Co-authored-by: Florian Apolloner <florian@apolloner.eu >
Co-authored-by: Ran Benita <ran@unusedvar.com > 
						
						
					 
					
						2024-03-01 09:01:18 +01:00 
						 
				 
			
				
					
						
							
							
								AlexCLeduc 
							
						 
					 
					
						
						
							
						
						a084c5d35a 
					 
					
						
						
							
							Fixed   #35238  -- Fixed database serialization crash when base managers use prefetch_related().  
						
						... 
						
						
						
						Regression in 1391356276 
						
						
					 
					
						2024-02-20 22:14:17 +01:00 
						 
				 
			
				
					
						
							
							
								Aaron Linville 
							
						 
					 
					
						
						
							
						
						7a05b8a2fa 
					 
					
						
						
							
							Fixed   #24018  -- Allowed setting pragma options on SQLite.  
						
						
						
						
					 
					
						2024-02-16 12:59:19 +01:00 
						 
				 
			
				
					
						
							
							
								Anže Pečar 
							
						 
					 
					
						
						
							
						
						a0204ac183 
					 
					
						
						
							
							Fixed   #29280  -- Made the transactions behavior configurable on SQLite.  
						
						
						
						
					 
					
						2024-01-30 11:42:34 +01:00 
						 
				 
			
				
					
						
							
							
								Mariusz Felisiak 
							
						 
					 
					
						
						
							
						
						305757aec1 
					 
					
						
						
							
							Applied Black's 2024 stable style.  
						
						... 
						
						
						
						https://github.com/psf/black/releases/tag/24.1.0  
					
						2024-01-26 12:45:07 +01:00 
						 
				 
			
				
					
						
							
							
								Simon Charette 
							
						 
					 
					
						
						
							
						
						0fcee1676c 
					 
					
						
						
							
							Fixed   #35111  -- Fixed compilation of DateField __in/__range rhs on SQLite and MySQL.  
						
						... 
						
						
						
						Also removed tests that ensured that adapt_(date)timefield backend
operations where able to deal with expressions when it's not the case
for any other adapt methods. 
						
						
					 
					
						2024-01-16 08:34:14 +01:00 
						 
				 
			
				
					
						
							
							
								Simon Charette 
							
						 
					 
					
						
						
							
						
						92d6cff6a2 
					 
					
						
						
							
							Fixed   #35028  -- Disabled server-side bindings for named cursors on psycopg >= 3.  
						
						... 
						
						
						
						While we provide a `cursor_factory` based on the value of the
`server_side_bindings` option to `psycopg.Connection` it is ignored by
the `cursor` method when `name` is specified for `QuerySet.iterator()`
usage and it causes the usage of `psycopg.ServerCursor` which performs
server-side bindings.
Since the ORM doesn't generates SQL that is suitable for server-side
bindings when dealing with parametrized expressions a specialized cursor
must be used to allow server-side cursors to be used with client-side
bindings.
Thanks Richard Ebeling for the report.
Thanks Florian Apolloner and Daniele Varrazzo for reviews. 
						
						
					 
					
						2024-01-12 21:40:18 +01:00 
						 
				 
			
				
					
						
							
							
								Nick Pope 
							
						 
					 
					
						
						
							
						
						c72001644f 
					 
					
						
						
							
							Updated DatabaseFeatures.bare_select_suffix on Oracle 23c.  
						
						... 
						
						
						
						https://docs.oracle.com/en/database/oracle/oracle-database/23/nfcoa/application-development.html#GUID-4EB70EB9-4EE3-4FE2-99C4-86F7AAC60F12  
					
						2024-01-01 10:59:16 +01:00 
						 
				 
			
				
					
						
							
							
								Nick Pope 
							
						 
					 
					
						
						
							
						
						af6e7e3de8 
					 
					
						
						
							
							Refs  #34986  -- Fixed backends.postgresql.test_server_side_cursors.ServerSideCursorsPostgres tests for PyPy.  
						
						
						
						
					 
					
						2023-12-07 09:43:20 +01:00 
						 
				 
			
				
					
						
							
							
								Nick Pope 
							
						 
					 
					
						
						
							
						
						2c6e4a29b0 
					 
					
						
						
							
							Fixed typo in tests/backends/postgresql/test_server_side_cursors.py.  
						
						
						
						
					 
					
						2023-12-06 09:17:49 +01:00 
						 
				 
			
				
					
						
							
							
								Nathaniel Conroy 
							
						 
					 
					
						
						
							
						
						0257426fe1 
					 
					
						
						
							
							Fixed   #34992  -- Fixed DatabaseFeatures.allows_group_by_selected_pks on MariaDB with ONLY_FULL_GROUP_BY sql mode.  
						
						... 
						
						
						
						Regression in 041551d716 
						
						
					 
					
						2023-11-27 09:20:10 +01:00 
						 
				 
			
				
					
						
							
							
								Mariusz Felisiak 
							
						 
					 
					
						
						
							
						
						cf57e220a9 
					 
					
						
						
							
							Fixed isolation of DatabaseWrapperLoggingTests.test_commit_debug_log().  
						
						
						
						
					 
					
						2023-10-27 09:05:09 +02:00 
						 
				 
			
				
					
						
							
							
								Mariusz Felisiak 
							
						 
					 
					
						
						
							
						
						779cd28acb 
					 
					
						
						
							
							Fixed   #34840  -- Avoided casting string base fields on PostgreSQL.  
						
						... 
						
						
						
						Thanks Alex Vandiver for the report.
Regression in 09ffc5c121 
						
						
					 
					
						2023-09-22 06:01:11 +02:00 
						 
				 
			
				
					
						
							
							
								Mariusz Felisiak 
							
						 
					 
					
						
						
							
						
						2c6ebb65c9 
					 
					
						
						
							
							Fixed   #34851  -- Dropped support for PostgreSQL 12 and PostGIS 2.5.  
						
						
						
						
					 
					
						2023-09-20 13:45:51 +02:00 
						 
				 
			
				
					
						
							
							
								Mariusz Felisiak 
							
						 
					 
					
						
						
							
						
						3623a0c079 
					 
					
						
						
							
							Fixed   #34850  -- Dropped support for MariaDB 10.4.  
						
						
						
						
					 
					
						2023-09-19 15:06:05 +02:00 
						 
				 
			
				
					
						
							
							
								Mariusz Felisiak 
							
						 
					 
					
						
						
							
						
						04eb1b4567 
					 
					
						
						
							
							Refs  #33872  -- Removed django.contrib.postgres.fields.CIText/CICharField/CIEmailField/CITextField.  
						
						... 
						
						
						
						Per deprecation timeline. 
						
						
					 
					
						2023-09-18 22:12:40 +02:00 
						 
				 
			
				
					
						
							
							
								David Smith 
							
						 
					 
					
						
						
							
						
						27b399d235 
					 
					
						
						
							
							Fixed   #34547  -- Deprecated DatabaseOperations.field_cast_sql().  
						
						
						
						
					 
					
						2023-08-31 06:18:07 +02:00 
						 
				 
			
				
					
						
							
							
								John Whitman 
							
						 
					 
					
						
						
							
						
						68a8996bdf 
					 
					
						
						
							
							Fixed   #34799  -- Made MySQL introspection skip cross-database relations.  
						
						
						
						
					 
					
						2023-08-30 12:46:15 +02:00 
						 
				 
			
				
					
						
							
							
								Mariusz Felisiak 
							
						 
					 
					
						
						
							
						
						dd45d5223b 
					 
					
						
						
							
							Fixed ResourceWarning from unclosed SQLite connection on Python 3.13+.  
						
						... 
						
						
						
						- backends.sqlite.tests.ThreadSharing.test_database_sharing_in_threads
- backends.tests.ThreadTests.test_default_connection_thread_local:
    on SQLite, close() doesn't explicitly close in-memory connections.
- servers.tests.LiveServerInMemoryDatabaseLockTest
- test_runner.tests.SQLiteInMemoryTestDbs.test_transaction_support
Check out https://github.com/python/cpython/pull/108015 . 
						
						
					 
					
						2023-08-23 09:09:23 +02:00 
						 
				 
			
				
					
						
							
							
								Mariusz Felisiak 
							
						 
					 
					
						
						
							
						
						0336aa6672 
					 
					
						
						
							
							Fixed TransactionalTests.test_password_with_at_sign() isolation on Oracle.  
						
						
						
						
					 
					
						2023-08-04 17:36:04 +02:00 
						 
				 
			
				
					
						
							
							
								Mariusz Felisiak 
							
						 
					 
					
						
						
							
						
						2b582387d5 
					 
					
						
						
							
							Fixed   #34760  -- Dropped support for SQLite < 3.27.  
						
						
						
						
					 
					
						2023-08-04 06:35:13 +02:00 
						 
				 
			
				
					
						
							
							
								Mariusz Felisiak 
							
						 
					 
					
						
						
							
						
						b719688b21 
					 
					
						
						
							
							Fixed   #34761  -- Dropped support for MySQL < 8.0.11.  
						
						
						
						
					 
					
						2023-08-03 18:54:29 +02:00 
						 
				 
			
				
					
						
							
							
								Mariusz Felisiak 
							
						 
					 
					
						
						
							
						
						a6d30f5012 
					 
					
						
						
							
							Fixed   #34671  -- Fixed collation introspection for views and materialized views on Oracle.  
						
						... 
						
						
						
						Thanks Philipp Maino for the report. 
						
						
					 
					
						2023-06-27 13:50:42 +02:00 
						 
				 
			
				
					
						
							
							
								David Wobrock 
							
						 
					 
					
						
						
							
						
						9bbf97bcdb 
					 
					
						
						
							
							Fixed   #16055  -- Fixed crash when filtering against char/text GenericRelation relation on PostgreSQL.  
						
						
						
						
					 
					
						2023-04-18 12:41:14 +02:00 
						 
				 
			
				
					
						
							
							
								Scott Macpherson 
							
						 
					 
					
						
						
							
						
						53aee470d5 
					 
					
						
						
							
							Fixed   #34486  -- Fixed DatabaseOperations.compose_sql() crash with no existing database connection on PostgreSQL.  
						
						... 
						
						
						
						Regression in 09ffc5c121 
						
						
					 
					
						2023-04-14 10:11:33 +02:00 
						 
				 
			
				
					
						
							
							
								Mariusz Felisiak 
							
						 
					 
					
						
						
							
						
						5b8a043bf5 
					 
					
						
						
							
							Fixed   #34470  -- Enforced UTF-8 encoding on PostgreSQL.  
						
						... 
						
						
						
						Regression in 6a21658163 
						
						
					 
					
						2023-04-07 10:11:41 +02:00 
						 
				 
			
				
					
						
							
							
								Anders Kaseorg 
							
						 
					 
					
						
						
							
						
						73cbb372ba 
					 
					
						
						
							
							Fixed   #34466  -- Reallowed setting cursor_factory in DATABASES["options"] on PostgreSQL.  
						
						... 
						
						
						
						Regression in 09ffc5c121 
						
						
					 
					
						2023-04-07 08:02:34 +02:00 
						 
				 
			
				
					
						
							
							
								David Smith 
							
						 
					 
					
						
						
							
						
						097e3a70c1 
					 
					
						
						
							
							Refs  #33476  -- Applied Black's 2023 stable style.  
						
						... 
						
						
						
						Black 23.1.0 is released which, as the first release of the year,
introduces the 2023 stable style. This incorporates most of last year's
preview style.
https://github.com/psf/black/releases/tag/23.1.0  
						
						
					 
					
						2023-02-01 11:04:38 +01:00 
						 
				 
			
				
					
						
							
							
								Mariusz Felisiak 
							
						 
					 
					
						
						
							
						
						0e2649fdf4 
					 
					
						
						
							
							Fixed   #34255  -- Made PostgreSQL backend use client-side parameters binding with psycopg version 3.  
						
						... 
						
						
						
						Thanks Guillaume Andreu Sabater for the report.
Co-authored-by: Florian Apolloner <apollo13@users.noreply.github.com > 
						
						
					 
					
						2023-01-17 08:24:08 +01:00