David Sanders 
							
						 
					 
					
						
						
							
						
						e0ac72fe80 
					 
					
						
						
							
							Refs  #33905  -- Added test for CheckConstraint() validation with ArrayField and __contains.  
						
						
						
						
					 
					
						2022-08-09 20:06:59 +02:00 
						 
				 
			
				
					
						
							
							
								Mariusz Felisiak 
							
						 
					 
					
						
						
							
						
						fd93db97c7 
					 
					
						
						
							
							Fixed   #33898  -- Fixed Window() expression crash with ArrayAgg().  
						
						... 
						
						
						
						Thanks Kia for the report.
Regression in e06dc4571e 
						
						
					 
					
						2022-08-06 17:59:31 +02:00 
						 
				 
			
				
					
						
							
							
								Mariusz Felisiak 
							
						 
					 
					
						
						
							
						
						cb791a2540 
					 
					
						
						
							
							Fixed   #33872  -- Deprecated django.contrib.postgres.fields.CIText/CICharField/CIEmailField/CITextField.  
						
						
						
						
					 
					
						2022-08-03 11:42:51 +02:00 
						 
				 
			
				
					
						
							
							
								Mariusz Felisiak 
							
						 
					 
					
						
						
							
						
						a1e9e9abc5 
					 
					
						
						
							
							Refs  #27236  -- Reverted "Refs  #27236  -- Added generic mechanism to handle the deprecation of migration operations."  
						
						... 
						
						
						
						This reverts commit 41019e48bb 
						
						
					 
					
						2022-07-26 11:41:19 +02:00 
						 
				 
			
				
					
						
							
							
								Stéphane "Twidi" Angel 
							
						 
					 
					
						
						
							
						
						ccbf714ebe 
					 
					
						
						
							
							Fixed   #33829  -- Made BaseConstraint.deconstruct() and equality handle violation_error_message.  
						
						... 
						
						
						
						Regression in 667105877e 
						
						
					 
					
						2022-07-08 08:17:42 +02:00 
						 
				 
			
				
					
						
							
							
								David Wobrock 
							
						 
					 
					
						
						
							
						
						41019e48bb 
					 
					
						
						
							
							Refs  #27236  -- Added generic mechanism to handle the deprecation of migration operations.  
						
						
						
						
					 
					
						2022-07-08 07:05:55 +02:00 
						 
				 
			
				
					
						
							
							
								Matt Brewer 
							
						 
					 
					
						
						
							
						
						8d160f154f 
					 
					
						
						
							
							Fixed   #33788  -- Added TrigramStrictWordSimilarity() and TrigramStrictWordDistance() on PostgreSQL.  
						
						
						
						
					 
					
						2022-06-17 11:14:30 +02:00 
						 
				 
			
				
					
						
							
							
								Mariusz Felisiak 
							
						 
					 
					
						
						
							
						
						981c23c0cc 
					 
					
						
						
							
							Fixed   #33717  -- Dropped support for PostgreSQL 11.  
						
						
						
						
					 
					
						2022-05-19 09:26:48 +02:00 
						 
				 
			
				
					
						
							
							
								David Smith 
							
						 
					 
					
						
						
							
						
						d126eba363 
					 
					
						
						
							
							Refs  #32339  -- Deprecated default.html form template.  
						
						... 
						
						
						
						Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es > 
						
						
					 
					
						2022-05-17 11:16:54 +02:00 
						 
				 
			
				
					
						
							
							
								Mariusz Felisiak 
							
						 
					 
					
						
						
							
						
						c112f837d4 
					 
					
						
						
							
							Fixed   #33704  -- Updated postgres_tests migrations.  
						
						
						
						
					 
					
						2022-05-13 11:23:21 +02:00 
						 
				 
			
				
					
						
							
							
								Gagaro 
							
						 
					 
					
						
						
							
						
						667105877e 
					 
					
						
						
							
							Fixed   #30581  -- Added support for Meta.constraints validation.  
						
						... 
						
						
						
						Thanks Simon Charette, Keryn Knight, and Mariusz Felisiak for reviews. 
						
						
					 
					
						2022-05-10 11:22:23 +02:00 
						 
				 
			
				
					
						
							
							
								Mariusz Felisiak 
							
						 
					 
					
						
						
							
						
						37470bbd90 
					 
					
						
						
							
							Fixed   #33675  -- Dropped support for PostgreSQL 10 and PostGIS 2.4.  
						
						
						
						
					 
					
						2022-05-04 06:28:51 +02:00 
						 
				 
			
				
					
						
							
							
								L 
							
						 
					 
					
						
						
							
						
						37602e4948 
					 
					
						
						
							
							Fixed   #33656  -- Fixed MultiWidget crash when compressed value is a tuple.  
						
						
						
						
					 
					
						2022-04-26 07:06:26 +02:00 
						 
				 
			
				
					
						
							
							
								Alexandru Mărășteanu 
							
						 
					 
					
						
						
							
						
						a1e4e86f92 
					 
					
						
						
							
							Fixed   #33607  -- Made PostgresIndex.create_sql() respect the "using" argument.  
						
						
						
						
					 
					
						2022-04-15 22:00:28 +02:00 
						 
				 
			
				
					
						
							
							
								Carlton Gibson 
							
						 
					 
					
						
						
							
						
						bb61f0186d 
					 
					
						
						
							
							Refs  #32365  -- Removed internal uses of utils.timezone.utc alias.  
						
						... 
						
						
						
						Remaining test case ensures that uses of the alias are mapped
canonically by the migration writer. 
						
						
					 
					
						2022-03-24 06:29:50 +01:00 
						 
				 
			
				
					
						
							
							
								David Smith 
							
						 
					 
					
						
						
							
						
						3b3f38b3b0 
					 
					
						
						
							
							Fixed   #31169  -- Adapted the parallel test runner to use spawn.  
						
						... 
						
						
						
						Co-authored-by: Valz <ahmadahussein0@gmail.com >
Co-authored-by: Nick Pope <nick@nickpope.me.uk > 
						
						
					 
					
						2022-03-15 16:23:55 +01:00 
						 
				 
			
				
					
						
							
							
								Anders Kaseorg 
							
						 
					 
					
						
						
							
						
						7f4fc5cbd4 
					 
					
						
						
							
							Fixed   #33539  -- Fixed spaces in WITH SQL for indexes on PostgreSQL.  
						
						
						
						
					 
					
						2022-02-24 09:03:58 +01:00 
						 
				 
			
				
					
						
							
							
								Nick Pope 
							
						 
					 
					
						
						
							
						
						847f46e9bf 
					 
					
						
						
							
							Removed redundant QuerySet.all() calls in docs and tests.  
						
						... 
						
						
						
						Most QuerySet methods are mapped onto the Manager and, in general,
it isn't necessary to call .all() on the manager. 
						
						
					 
					
						2022-02-22 10:29:38 +01:00 
						 
				 
			
				
					
						
							
							
								Mariusz Felisiak 
							
						 
					 
					
						
						
							
						
						7119f40c98 
					 
					
						
						
							
							Refs  #33476  -- Refactored code to strictly match 88 characters line length.  
						
						
						
						
					 
					
						2022-02-07 20:37:05 +01:00 
						 
				 
			
				
					
						
							
							
								django-bot 
							
						 
					 
					
						
						
							
						
						9c19aff7c7 
					 
					
						
						
							
							Refs  #33476  -- Reformatted code with Black.  
						
						
						
						
					 
					
						2022-02-07 20:37:05 +01:00 
						 
				 
			
				
					
						
							
							
								Mariusz Felisiak 
							
						 
					 
					
						
						
							
						
						c5cd878382 
					 
					
						
						
							
							Refs  #33476  -- Refactored problematic code before reformatting by Black.  
						
						... 
						
						
						
						In these cases Black produces unexpected results, e.g.
def make_random_password(
    self,
    length=10,
    allowed_chars='abcdefghjkmnpqrstuvwxyz' 'ABCDEFGHJKLMNPQRSTUVWXYZ' '23456789',
):
or
cursor.execute("""
SELECT ...
""",
    [table name],
) 
						
						
					 
					
						2022-02-03 11:20:46 +01:00 
						 
				 
			
				
					
						
							
							
								Hannes Ljungberg 
							
						 
					 
					
						
						
							
						
						59a66f0512 
					 
					
						
						
							
							Refs  #33342  -- Deprecated ExclusionConstraint.opclasses.  
						
						
						
						
					 
					
						2021-12-27 08:55:18 +01:00 
						 
				 
			
				
					
						
							
							
								Hannes Ljungberg 
							
						 
					 
					
						
						
							
						
						0e656c02fe 
					 
					
						
						
							
							Fixed   #33342  -- Added support for using OpClass() in exclusion constraints.  
						
						
						
						
					 
					
						2021-12-24 11:39:00 +01:00 
						 
				 
			
				
					
						
							
							
								Mariusz Felisiak 
							
						 
					 
					
						
						
							
						
						ca04659b4b 
					 
					
						
						
							
							Refs  #32355  -- Bumped required psycopg2 version to 2.8.4.  
						
						... 
						
						
						
						psycopg2 2.8.4 is the first release to support Python 3.8. 
						
						
					 
					
						2021-12-22 20:32:55 +01:00 
						 
				 
			
				
					
						
							
							
								David Smith 
							
						 
					 
					
						
						
							
						
						c6c6cd3c5a 
					 
					
						
						
							
							Fixed   #33235  -- Removed "for = ..." from MultiWidget's <label>.  
						
						... 
						
						
						
						This improves accessibility for screen reader users. 
						
						
					 
					
						2021-11-05 11:05:52 +01:00 
						 
				 
			
				
					
						
							
							
								Guilherme Martins Crocetti 
							
						 
					 
					
						
						
							
						
						fc565cb539 
					 
					
						
						
							
							Fixed   #27147  -- Allowed specifying bounds of tuple inputs for non-discrete range fields.  
						
						
						
						
					 
					
						2021-11-04 19:08:57 +01:00 
						 
				 
			
				
					
						
							
							
								Guilherme Martins Crocetti 
							
						 
					 
					
						
						
							
						
						52f6927d7f 
					 
					
						
						
							
							Refs  #29738  -- Added test for serializing psycopg2's NumericRange with DecimalRangeField in migrations.  
						
						
						
						
					 
					
						2021-11-04 19:08:57 +01:00 
						 
				 
			
				
					
						
							
							
								Sarah Abderemane 
							
						 
					 
					
						
						
							
						
						533f345c09 
					 
					
						
						
							
							Refs  #27694  -- Added more tests for chaining lookups with HStoreField key transforms.  
						
						
						
						
					 
					
						2021-10-04 07:18:16 +02:00 
						 
				 
			
				
					
						
							
							
								Nick Pope 
							
						 
					 
					
						
						
							
						
						c2f6c05c4c 
					 
					
						
						
							
							Refs  #32943  -- Added support for covering exclusion constraints using SP-GiST indexes on PostgreSQL 14+.  
						
						
						
						
					 
					
						2021-10-01 13:11:37 +02:00 
						 
				 
			
				
					
						
							
							
								Nick Pope 
							
						 
					 
					
						
						
							
						
						e76f9d5b44 
					 
					
						
						
							
							Refs  #32943  -- Added support for covering SP-GiST indexes on PostgreSQL 14+.  
						
						
						
						
					 
					
						2021-10-01 13:11:34 +02:00 
						 
				 
			
				
					
						
							
							
								Nick Pope 
							
						 
					 
					
						
						
							
						
						bd47b9bc81 
					 
					
						
						
							
							Fixed   #32961  -- Added BitXor() aggregate to django.contrib.postgres.  
						
						
						
						
					 
					
						2021-10-01 10:32:39 +02:00 
						 
				 
			
				
					
						
							
							
								Nick Pope 
							
						 
					 
					
						
						
							
						
						000d430234 
					 
					
						
						
							
							Fixed typo in exception message for GiST indexes and exclusion constraints.  
						
						
						
						
					 
					
						2021-10-01 09:46:36 +02:00 
						 
				 
			
				
					
						
							
							
								Nick Pope 
							
						 
					 
					
						
						
							
						
						dd26362f63 
					 
					
						
						
							
							Fixed SpGistIndex tests on PostgreSQL 14+.  
						
						
						
						
					 
					
						2021-10-01 09:17:59 +02:00 
						 
				 
			
				
					
						
							
							
								ali 
							
						 
					 
					
						
						
							
						
						ca58378390 
					 
					
						
						
							
							Fixed   #33114  -- Defined default output_field of StringAgg.  
						
						... 
						
						
						
						Thanks Simon Charette for the review. 
						
						
					 
					
						2021-09-27 06:58:54 +02:00 
						 
				 
			
				
					
						
							
							
								Nikita Marchant 
							
						 
					 
					
						
						
							
						
						4e4082f939 
					 
					
						
						
							
							Fixed   #32492  -- Added TrigramWordSimilarity() and TrigramWordDistance() on PostgreSQL.  
						
						
						
						
					 
					
						2021-09-17 13:05:15 +02:00 
						 
				 
			
				
					
						
							
							
								abhiabhi94 
							
						 
					 
					
						
						
							
						
						5a634a7b6f 
					 
					
						
						
							
							Fixed   #32906  -- Added docs and tests for using key and index lookups on JSONBAgg results.  
						
						... 
						
						
						
						Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com > 
						
						
					 
					
						2021-07-26 11:23:51 +02:00 
						 
				 
			
				
					
						
							
							
								Nick Pope 
							
						 
					 
					
						
						
							
						
						fee8734596 
					 
					
						
						
							
							Refs  #10929  -- Deprecated forced empty result value for PostgreSQL aggregates.  
						
						... 
						
						
						
						This deprecates forcing a return value for ArrayAgg, JSONBAgg, and
StringAgg when there are no rows in the query. Now that we have a
``default`` argument for aggregates, we want to revert to returning the
default of ``None`` which most aggregate functions return and leave it
up to the user to decide what they want to be returned by default. 
						
						
					 
					
						2021-07-19 13:41:16 +02:00 
						 
				 
			
				
					
						
							
							
								Nick Pope 
							
						 
					 
					
						
						
							
						
						501a8db465 
					 
					
						
						
							
							Fixed   #10929  -- Added default argument to aggregates.  
						
						... 
						
						
						
						Thanks to Simon Charette and Adam Johnson for the reviews. 
						
						
					 
					
						2021-07-19 13:04:27 +02:00 
						 
				 
			
				
					
						
							
							
								Hannes Ljungberg 
							
						 
					 
					
						
						
							
						
						a06b977a91 
					 
					
						
						
							
							Fixed   #32776  -- Added support for Array subqueries on PostgreSQL.  
						
						
						
						
					 
					
						2021-07-06 07:36:52 +02:00 
						 
				 
			
				
					
						
							
							
								Hannes Ljungberg 
							
						 
					 
					
						
						
							
						
						d8c90d4c22 
					 
					
						
						
							
							Fixed   #32786  -- Moved subquery ordering clearing optimization to the _in lookup.  
						
						... 
						
						
						
						Co-Authored-By: Simon Charette <charette.s@gmail.com > 
						
						
					 
					
						2021-06-30 10:08:55 +02:00 
						 
				 
			
				
					
						
							
							
								Mariusz Felisiak 
							
						 
					 
					
						
						
							
						
						5371ad1d14 
					 
					
						
						
							
							Refs  #26430  -- Added tests for PostgreSQL-specific aggregates on EmptyQuerySets and used subTest().  
						
						
						
						
					 
					
						2021-06-29 20:23:59 +02:00 
						 
				 
			
				
					
						
							
							
								Nick Pope 
							
						 
					 
					
						
						
							
						
						66af94d56e 
					 
					
						
						
							
							Removed unnecessary json.loads() call in test_json_agg_empty().  
						
						
						
						
					 
					
						2021-06-28 09:22:23 +02:00 
						 
				 
			
				
					
						
							
							
								Nick Pope 
							
						 
					 
					
						
						
							
						
						e8e8e207e7 
					 
					
						
						
							
							Ensured that empty result test for JSONBAgg executes a query.  
						
						... 
						
						
						
						Use of QuerySet.none() will cause the EmptyQuerySet aggregation
optimisation to be used. Change the test to be implemented like the
other tests for empty results in this file. 
						
						
					 
					
						2021-06-28 09:21:57 +02:00 
						 
				 
			
				
					
						
							
							
								Nick Pope 
							
						 
					 
					
						
						
							
						
						1aca9fc7d2 
					 
					
						
						
							
							Corrected test method and variable names for JSONBAgg.  
						
						... 
						
						
						
						This is probably a hangover from when the aggregate function was
originally called JSONAgg during development. 
						
						
					 
					
						2021-06-28 09:17:34 +02:00 
						 
				 
			
				
					
						
							
							
								Mariusz Felisiak 
							
						 
					 
					
						
						
							
						
						e07609a0d1 
					 
					
						
						
							
							Refs  #32858 , Refs  #32392  -- Restored using :: shortcut syntax in Cast() on PostgreSQL.  
						
						... 
						
						
						
						This partly reverts commit fdfbc66331b69b0c3fe8 
						
						
					 
					
						2021-06-22 06:28:42 +02:00 
						 
				 
			
				
					
						
							
							
								Lucidiot 
							
						 
					 
					
						
						
							
						
						b69b0c3fe8 
					 
					
						
						
							
							Fixed   #32858  -- Fixed ExclusionConstraint crash with index transforms in expressions.  
						
						
						
						
					 
					
						2021-06-22 06:09:16 +02:00 
						 
				 
			
				
					
						
							
							
								Sanskar Jaiswal 
							
						 
					 
					
						
						
							
						
						8c3bd0b708 
					 
					
						
						
							
							Fixed   #31653  -- Added AddConstraintNotValid()/ValidateConstraint() operations for PostgreSQL.  
						
						
						
						
					 
					
						2021-06-08 07:46:51 +02:00 
						 
				 
			
				
					
						
							
							
								Mariusz Felisiak 
							
						 
					 
					
						
						
							
						
						f0a9413bd2 
					 
					
						
						
							
							Refs  #24121  -- Improved Value.__repr__().  
						
						
						
						
					 
					
						2021-05-24 07:26:53 +02:00 
						 
				 
			
				
					
						
							
							
								Hannes Ljungberg 
							
						 
					 
					
						
						
							
						
						3aa545281e 
					 
					
						
						
							
							Fixed   #30916  -- Added support for functional unique constraints.  
						
						... 
						
						
						
						Thanks Ian Foote and Mariusz Felisiak for reviews. 
						
						
					 
					
						2021-02-23 20:19:53 +01:00 
						 
				 
			
				
					
						
							
							
								Hannes Ljungberg 
							
						 
					 
					
						
						
							
						
						87acbf0631 
					 
					
						
						
							
							Fixed   #32458  -- Made __repr__() for Index and BaseConstraint subclasses more consistent.  
						
						
						
						
					 
					
						2021-02-19 20:25:11 +01:00