summaryrefslogtreecommitdiff
path: root/django/contrib/postgres
Commit message (Collapse)AuthorAgeFilesLines
...
* Fixed typo in exception message for GiST indexes and exclusion constraints.Nick Pope2021-10-012-2/+2
|
* Fixed #33141 -- Renamed Expression.empty_aggregate_value to ↵David Wobrock2021-09-291-1/+1
| | | | empty_result_set_value.
* Refs #32355 -- Used @functools.lru_cache as a straight decorator.Mariusz Felisiak2021-09-271-2/+2
|
* Fixed #33114 -- Defined default output_field of StringAgg.ali2021-09-271-1/+4
| | | | Thanks Simon Charette for the review.
* Fixed #32492 -- Added TrigramWordSimilarity() and TrigramWordDistance() on ↵Nikita Marchant2021-09-173-1/+28
| | | | PostgreSQL.
* Refs #10929 -- Deprecated forced empty result value for PostgreSQL aggregates.Nick Pope2021-07-191-17/+52
| | | | | | | | 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.
* Fixed #10929 -- Added default argument to aggregates.Nick Pope2021-07-192-7/+7
| | | | Thanks to Simon Charette and Adam Johnson for the reviews.
* Fixed #32776 -- Added support for Array subqueries on PostgreSQL.Hannes Ljungberg2021-07-061-0/+14
|
* Refs #26430 -- Re-introduced empty aggregation optimization.Simon Charette2021-07-021-3/+1
| | | | | | | | | | | | The introduction of the Expression.empty_aggregate_value interface allows the compilation stage to enable the EmptyResultSet optimization if all the aggregates expressions implement it. This also removes unnecessary RegrCount/Count.convert_value() methods. Disabling the empty result set aggregation optimization when it wasn't appropriate prevented None returned for a Count aggregation value. Thanks Nick Pope for the review.
* Fixed #32858 -- Fixed ExclusionConstraint crash with index transforms in ↵Lucidiot2021-06-221-0/+3
| | | | expressions.
* Fixed #31653 -- Added AddConstraintNotValid()/ValidateConstraint() ↵Sanskar Jaiswal2021-06-081-1/+72
| | | | operations for PostgreSQL.
* Refs #32074 -- Made ExclusionConstraint.__repr__() use Deferrable.__repr__().Mariusz Felisiak2021-04-071-1/+1
| | | Follow up to c6859f1a684edec7bb33038b4408046a4db0c16d.
* Updated translations from Transifex.Claude Paroz2021-04-068-16/+18
| | | | Forwardport of 1ea5e983151f797b285c789626411b9373cd8727 from stable/3.2.x.
* Fixed #32458 -- Made __repr__() for Index and BaseConstraint subclasses more ↵Hannes Ljungberg2021-02-191-7/+8
| | | | consistent.
* Fixed #32357 -- Dropped support for PostgreSQL 9.6 and PostGIS 2.3.Mariusz Felisiak2021-01-192-9/+0
|
* Refs #12990 -- Removed django.contrib.postgres.forms.JSONField per ↵Mariusz Felisiak2021-01-142-17/+0
| | | | deprecation timeline.
* Refs #12990 -- Removed ↵Mariusz Felisiak2021-01-141-28/+0
| | | | | | django.contrib.postgres.fields.jsonb.KeyTransform/KeyTextTransform. Per deprecation timeline.
* Refs #12990 -- Removed django.contrib.postgres.fields.JSONField per ↵Mariusz Felisiak2021-01-141-5/+4
| | | | deprecation timeline.
* Fixed #26167 -- Added support for functional indexes.Hannes Ljungberg2021-01-132-16/+27
| | | | | | Thanks Simon Charette, Mads Jensen, and Mariusz Felisiak for reviews. Co-authored-by: Markus Holtermann <info@markusholtermann.eu>
* Refs #27095 -- Allowed (non-nested) arrays containing expressions for ↵Hannes Ljungberg2020-11-261-6/+21
| | | | ArrayField lookups.
* Fixed #32169 -- Added distinct support to JSONBAgg.Artur Beltsov2020-11-041-1/+2
|
* Fixed #32046 -- Added CreateCollation/RemoveCollation operations for PostgreSQL.Tom Carrick2020-10-211-0/+97
|
* Refs #32096 -- Fixed ExclusionConstraint crash with JSONField key transforms ↵Mariusz Felisiak2020-10-141-1/+1
| | | | | | in expressions. Regression in 6789ded0a6ab797f0dcdfa6ad5d1cfa46e23abcd.
* Refs #32096 -- Fixed crash of ArrayAgg/StringAgg/JSONBAgg with ordering over ↵Mariusz Felisiak2020-10-141-1/+1
| | | | | | | | JSONField key transforms. Regression in 6789ded0a6ab797f0dcdfa6ad5d1cfa46e23abcd. Thanks Igor Jerosimić for the report.
* Updated translations from Transifex.Claude Paroz2020-09-3074-539/+170
| | | | Forwardport of f7397bb7c8cb938161a9d43a16ee974f41c96a8b from stable/3.1.x.
* Fixed #31956 -- Fixed crash of ordering by JSONField with a custom decoder ↵Mariusz Felisiak2020-08-281-1/+1
| | | | | | | on PostgreSQL. Thanks Marc Debureaux for the report. Thanks Simon Charette, Nick Pope, and Adam Johnson for reviews.
* Fixed #31902 -- Fixed crash of ExclusionConstraint on expressions with params.Maxim Petrov2020-08-191-4/+5
|
* Updated translations from TransifexClaude Paroz2020-08-0154-303/+732
|
* Fixed #31180 -- Configured applications automatically.Aymeric Augustin2020-07-211-1/+0
|
* Refs #31720 -- Defined default output_field of BoolAnd() and BoolOr() ↵David Chorpash2020-07-211-1/+3
| | | | aggregate functions.
* Fixed #30446 -- Resolved Value.output_field for stdlib types.Simon Charette2020-07-151-2/+1
| | | | | | This required implementing a limited form of dynamic dispatch to combine expressions with numerical output. Refs #26355 should eventually provide a better interface for that.
* Fixed #31709 -- Added support for opclasses in ExclusionConstraint.Hannes Ljungberg2020-06-161-4/+25
|
* Fixed #31691 -- Added ordering support to JSONBAgg.John Parton2020-06-131-1/+2
|
* Fixed #31649 -- Added support for covering exclusion constraints on ↵Hannes Ljungberg2020-06-121-4/+27
| | | | PostgreSQL 12+.
* Fixed #30913 -- Added support for covering indexes on PostgreSQL 11+.Hannes Ljungberg2020-06-041-0/+4
|
* Refs #31615 -- Added EXISTS clauses to extension operations.Adam Johnson2020-06-031-2/+2
|
* Fixed #31468 -- Allowed specifying migration filename in Operation.Adam Johnson2020-05-281-0/+4
| | | | This adds also suggested filename for many built-in operations.
* Fixed #31615 -- Made migrations skip extension operations if not needed.Frantisek Holop2020-05-271-2/+16
| | | | | - Don't try to create an existing extension. - Don't try to drop a nonexistent extension.
* Fixed #31579 -- Dropped support for PostgreSQL 9.5 and PostGIS 2.2.Mariusz Felisiak2020-05-141-4/+0
|
* Updated source translation catalogs.Claude Paroz2020-05-111-22/+9
|
* Fixed #12990, Refs #27694 -- Added JSONField model field.sage2020-05-085-243/+44
| | | | | | | | | | | Thanks to Adam Johnson, Carlton Gibson, Mariusz Felisiak, and Raphael Michel for mentoring this Google Summer of Code 2019 project and everyone else who helped with the patch. Special thanks to Mads Jensen, Nick Pope, and Simon Charette for extensive reviews. Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
* Fixed #31455 -- Added support for deferrable exclusion constraints on ↵Ian Foote2020-05-011-5/+22
| | | | PostgreSQL.
* Changed django.forms.ValidationError imports to ↵François Freitag2020-04-281-1/+2
| | | | | | django.core.exceptions.ValidationError. Co-Authored-By: Mariusz Felisiak <felisiak.mariusz@gmail.com>
* Refs #12990 -- Moved PostgresSimpleLookup to the ↵Mariusz Felisiak2020-04-012-39/+32
| | | | django.db.models.lookups.PostgresOperatorLookup.
* Fixed #28194 -- Added support for normalization and cover density to SearchRank.Hannes Ljungberg2020-03-231-1/+10
|
* Fixed #31340 -- Allowed query expressions in SearchQuery.value and __search ↵Baptiste Mispelon2020-03-161-2/+3
| | | | lookup.
* Refs #31340 -- Simplified SearchQuery by making it subclass Func.Baptiste Mispelon2020-03-131-23/+16
|
* Removed unnecessary SearchQuery._combine().Baptiste Mispelon2020-03-131-5/+0
| | | | Unnecessary since its introduction in 2d877da85526bad0dad7fd6b1d56b1f924c0116a.
* Fixed #31347 -- Checked allow_migrate() in CreateExtension operation.Hasan Ramezani2020-03-091-2/+7
|
* Refs #31304 -- Made __search lookup default to its rhs' config.Simon Charette2020-03-061-1/+2
| | | | | | This make the SearchLookup lookup more coherent with its SearchVectorExact base which configures its rhs SearchQuery with its lhs' config.