Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Fixed typo in exception message for GiST indexes and exclusion constraints. | Nick Pope | 2021-10-01 | 2 | -2/+2 | |
| | ||||||
* | Fixed #33141 -- Renamed Expression.empty_aggregate_value to ↵ | David Wobrock | 2021-09-29 | 1 | -1/+1 | |
| | | | | empty_result_set_value. | |||||
* | Refs #32355 -- Used @functools.lru_cache as a straight decorator. | Mariusz Felisiak | 2021-09-27 | 1 | -2/+2 | |
| | ||||||
* | Fixed #33114 -- Defined default output_field of StringAgg. | ali | 2021-09-27 | 1 | -1/+4 | |
| | | | | Thanks Simon Charette for the review. | |||||
* | Fixed #32492 -- Added TrigramWordSimilarity() and TrigramWordDistance() on ↵ | Nikita Marchant | 2021-09-17 | 3 | -1/+28 | |
| | | | | PostgreSQL. | |||||
* | Refs #10929 -- Deprecated forced empty result value for PostgreSQL aggregates. | Nick Pope | 2021-07-19 | 1 | -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 Pope | 2021-07-19 | 2 | -7/+7 | |
| | | | | Thanks to Simon Charette and Adam Johnson for the reviews. | |||||
* | Fixed #32776 -- Added support for Array subqueries on PostgreSQL. | Hannes Ljungberg | 2021-07-06 | 1 | -0/+14 | |
| | ||||||
* | Refs #26430 -- Re-introduced empty aggregation optimization. | Simon Charette | 2021-07-02 | 1 | -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 ↵ | Lucidiot | 2021-06-22 | 1 | -0/+3 | |
| | | | | expressions. | |||||
* | Fixed #31653 -- Added AddConstraintNotValid()/ValidateConstraint() ↵ | Sanskar Jaiswal | 2021-06-08 | 1 | -1/+72 | |
| | | | | operations for PostgreSQL. | |||||
* | Refs #32074 -- Made ExclusionConstraint.__repr__() use Deferrable.__repr__(). | Mariusz Felisiak | 2021-04-07 | 1 | -1/+1 | |
| | | | Follow up to c6859f1a684edec7bb33038b4408046a4db0c16d. | |||||
* | Updated translations from Transifex. | Claude Paroz | 2021-04-06 | 8 | -16/+18 | |
| | | | | Forwardport of 1ea5e983151f797b285c789626411b9373cd8727 from stable/3.2.x. | |||||
* | Fixed #32458 -- Made __repr__() for Index and BaseConstraint subclasses more ↵ | Hannes Ljungberg | 2021-02-19 | 1 | -7/+8 | |
| | | | | consistent. | |||||
* | Fixed #32357 -- Dropped support for PostgreSQL 9.6 and PostGIS 2.3. | Mariusz Felisiak | 2021-01-19 | 2 | -9/+0 | |
| | ||||||
* | Refs #12990 -- Removed django.contrib.postgres.forms.JSONField per ↵ | Mariusz Felisiak | 2021-01-14 | 2 | -17/+0 | |
| | | | | deprecation timeline. | |||||
* | Refs #12990 -- Removed ↵ | Mariusz Felisiak | 2021-01-14 | 1 | -28/+0 | |
| | | | | | | django.contrib.postgres.fields.jsonb.KeyTransform/KeyTextTransform. Per deprecation timeline. | |||||
* | Refs #12990 -- Removed django.contrib.postgres.fields.JSONField per ↵ | Mariusz Felisiak | 2021-01-14 | 1 | -5/+4 | |
| | | | | deprecation timeline. | |||||
* | Fixed #26167 -- Added support for functional indexes. | Hannes Ljungberg | 2021-01-13 | 2 | -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 Ljungberg | 2020-11-26 | 1 | -6/+21 | |
| | | | | ArrayField lookups. | |||||
* | Fixed #32169 -- Added distinct support to JSONBAgg. | Artur Beltsov | 2020-11-04 | 1 | -1/+2 | |
| | ||||||
* | Fixed #32046 -- Added CreateCollation/RemoveCollation operations for PostgreSQL. | Tom Carrick | 2020-10-21 | 1 | -0/+97 | |
| | ||||||
* | Refs #32096 -- Fixed ExclusionConstraint crash with JSONField key transforms ↵ | Mariusz Felisiak | 2020-10-14 | 1 | -1/+1 | |
| | | | | | | in expressions. Regression in 6789ded0a6ab797f0dcdfa6ad5d1cfa46e23abcd. | |||||
* | Refs #32096 -- Fixed crash of ArrayAgg/StringAgg/JSONBAgg with ordering over ↵ | Mariusz Felisiak | 2020-10-14 | 1 | -1/+1 | |
| | | | | | | | | JSONField key transforms. Regression in 6789ded0a6ab797f0dcdfa6ad5d1cfa46e23abcd. Thanks Igor Jerosimić for the report. | |||||
* | Updated translations from Transifex. | Claude Paroz | 2020-09-30 | 74 | -539/+170 | |
| | | | | Forwardport of f7397bb7c8cb938161a9d43a16ee974f41c96a8b from stable/3.1.x. | |||||
* | Fixed #31956 -- Fixed crash of ordering by JSONField with a custom decoder ↵ | Mariusz Felisiak | 2020-08-28 | 1 | -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 Petrov | 2020-08-19 | 1 | -4/+5 | |
| | ||||||
* | Updated translations from Transifex | Claude Paroz | 2020-08-01 | 54 | -303/+732 | |
| | ||||||
* | Fixed #31180 -- Configured applications automatically. | Aymeric Augustin | 2020-07-21 | 1 | -1/+0 | |
| | ||||||
* | Refs #31720 -- Defined default output_field of BoolAnd() and BoolOr() ↵ | David Chorpash | 2020-07-21 | 1 | -1/+3 | |
| | | | | aggregate functions. | |||||
* | Fixed #30446 -- Resolved Value.output_field for stdlib types. | Simon Charette | 2020-07-15 | 1 | -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 Ljungberg | 2020-06-16 | 1 | -4/+25 | |
| | ||||||
* | Fixed #31691 -- Added ordering support to JSONBAgg. | John Parton | 2020-06-13 | 1 | -1/+2 | |
| | ||||||
* | Fixed #31649 -- Added support for covering exclusion constraints on ↵ | Hannes Ljungberg | 2020-06-12 | 1 | -4/+27 | |
| | | | | PostgreSQL 12+. | |||||
* | Fixed #30913 -- Added support for covering indexes on PostgreSQL 11+. | Hannes Ljungberg | 2020-06-04 | 1 | -0/+4 | |
| | ||||||
* | Refs #31615 -- Added EXISTS clauses to extension operations. | Adam Johnson | 2020-06-03 | 1 | -2/+2 | |
| | ||||||
* | Fixed #31468 -- Allowed specifying migration filename in Operation. | Adam Johnson | 2020-05-28 | 1 | -0/+4 | |
| | | | | This adds also suggested filename for many built-in operations. | |||||
* | Fixed #31615 -- Made migrations skip extension operations if not needed. | Frantisek Holop | 2020-05-27 | 1 | -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 Felisiak | 2020-05-14 | 1 | -4/+0 | |
| | ||||||
* | Updated source translation catalogs. | Claude Paroz | 2020-05-11 | 1 | -22/+9 | |
| | ||||||
* | Fixed #12990, Refs #27694 -- Added JSONField model field. | sage | 2020-05-08 | 5 | -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 Foote | 2020-05-01 | 1 | -5/+22 | |
| | | | | PostgreSQL. | |||||
* | Changed django.forms.ValidationError imports to ↵ | François Freitag | 2020-04-28 | 1 | -1/+2 | |
| | | | | | | django.core.exceptions.ValidationError. Co-Authored-By: Mariusz Felisiak <felisiak.mariusz@gmail.com> | |||||
* | Refs #12990 -- Moved PostgresSimpleLookup to the ↵ | Mariusz Felisiak | 2020-04-01 | 2 | -39/+32 | |
| | | | | django.db.models.lookups.PostgresOperatorLookup. | |||||
* | Fixed #28194 -- Added support for normalization and cover density to SearchRank. | Hannes Ljungberg | 2020-03-23 | 1 | -1/+10 | |
| | ||||||
* | Fixed #31340 -- Allowed query expressions in SearchQuery.value and __search ↵ | Baptiste Mispelon | 2020-03-16 | 1 | -2/+3 | |
| | | | | lookup. | |||||
* | Refs #31340 -- Simplified SearchQuery by making it subclass Func. | Baptiste Mispelon | 2020-03-13 | 1 | -23/+16 | |
| | ||||||
* | Removed unnecessary SearchQuery._combine(). | Baptiste Mispelon | 2020-03-13 | 1 | -5/+0 | |
| | | | | Unnecessary since its introduction in 2d877da85526bad0dad7fd6b1d56b1f924c0116a. | |||||
* | Fixed #31347 -- Checked allow_migrate() in CreateExtension operation. | Hasan Ramezani | 2020-03-09 | 1 | -2/+7 | |
| | ||||||
* | Refs #31304 -- Made __search lookup default to its rhs' config. | Simon Charette | 2020-03-06 | 1 | -1/+2 | |
| | | | | | | This make the SearchLookup lookup more coherent with its SearchVectorExact base which configures its rhs SearchQuery with its lhs' config. |