| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2020-07-30 | [3.1.x] Refs #31829 -- Added ↵ | Tim Graham | |
| DatabaseFeatures.json_key_contains_list_matching_requires_list. CockroachDB's behavior matches PostgreSQL. Backport of 184a6eebb0ef56d5f1b1315a8e666830e37f3f81 from master | |||
| 2020-06-24 | [3.1.x] Fixed #31735 -- Fixed migrations crash on namespaced inline FK ↵ | Simon Charette | |
| addition on PostgreSQL. The namespace of the constraint must be included when making the constraint immediate. Regression in 22ce5d0031bd795ade081394043833e82046016c. Thanks Rodrigo Estevao for the report. Backport of 2e8941b6f90e65ffad3f07083b8de59e8ed29767 from master | |||
| 2020-05-18 | [3.1.x] Refs #12990 -- Added DatabaseFeatures.has_json_operators. | Tim Graham | |
| CockroachDB also has them. Backport of f59a2b730685fc62c5cb44101f54faf8921d9bc7 from master | |||
| 2020-05-08 | Fixed #12990, Refs #27694 -- Added JSONField model field. | sage | |
| 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> | |||
| 2020-04-30 | Fixed #20581 -- Added support for deferrable unique constraints. | Ian Foote | |
| 2020-04-17 | Fixed #31473 -- Made sql_flush() use RESTART IDENTITY to reset sequences on ↵ | Jon Dufresne | |
| PostgreSQL. The sql_flush() positional argument sequences is replaced by the boolean keyword-only argument reset_sequences. This ensures that the old function signature can't be used by mistake when upgrading Django. When the new argument is True, the sequences of the truncated tables will reset. Using a single boolean value, rather than a list, allows making a binary yes/no choice as to whether to reset all sequences rather than a working on a completely different set. | |||
| 2020-04-17 | Simplified DatabaseOperations.sql_flush() on Oracle and PostgreSQL. | Jon Dufresne | |
| Added early return to decrease an indentation level. | |||
| 2020-04-14 | Fixed #29501 -- Allowed dbshell to pass options to underlying tool. | Adam Johnson | |
| 2020-02-06 | Fixed #31233 -- Closed database connections and cursors after use. | Jon Dufresne | |
| 2020-02-06 | Refs #31233 -- Changed DatabaseWrapper._nodb_connection to _nodb_cursor(). | Jon Dufresne | |
| It is now a method instead of a property and returns a context manager that yields a cursor on entry and closes the cursor and connection upon exit. | |||
| 2020-02-04 | Simplified imports from django.db and django.contrib.gis.db. | Nick Pope | |
| 2020-01-29 | Fixed #31212 -- Updated psycopg links to HTTPS and new location. | Jon Dufresne | |
| 2020-01-20 | Fixed #31183 -- Added a feature flag for "<db> only supports UNBOUNDED ↵ | Tim Graham | |
| together with PRECEDING and FOLLOWING". | |||
| 2020-01-20 | Changed re-raising an exception to use bare raise syntax where appropriate. | Jon Dufresne | |
| 2020-01-03 | Fixed #31133 -- Fixed crash when subtracting against a subquery annotation. | Simon Charette | |
| The subtract_temporals() database operation was not handling expressions returning SQL params in mixed database types. Regression in 35431298226165986ad07e91f9d3aca721ff38ec. Thanks Reupen Shah for the report. | |||
| 2019-12-23 | Fixed #31106 -- Fixed migrations crash on PostgreSQL 10+ when adding FK ↵ | Mariusz Felisiak | |
| constraints inline and changing data. This allows adding foreign key constraints inline and changing data in the same migration on PostgreSQL 10+. Regression in 738faf9da2a5cd03148a36375db80746c99c9623. Thanks Janne Rönkkö for the report and Simon Charette for the implementation idea and review. | |||
| 2019-12-16 | Fixed #31088 -- Added support for websearch searching in SearchQuery. | James Turk | |
| 2019-12-04 | Fixed #23524 -- Allowed DATABASES['TIME_ZONE'] option on PostgreSQL. | Aymeric Augustin | |
| 2019-11-19 | Fixed #30987 -- Added models.PositiveBigIntegerField. | Caio Ariede | |
| 2019-11-07 | Fixed #30943 -- Added BloomIndex to django.contrib.postgres. | Nick Pope | |
| 2019-10-23 | Refs #30897 -- Added test for SETTINGS option to Queryset.explain() on ↵ | Nick Pope | |
| PostgreSQL 12+. | |||
| 2019-10-17 | Refs #28816 -- Prevented silencing data loss when decreasing ↵ | Hasan Ramezani | |
| CharField.max_length for ArrayField.base_field on PostgreSQL. | |||
| 2019-10-02 | Fixed #30821 -- Added ExtractIsoWeekYear database function and iso_week_day ↵ | Anatol Ulrich | |
| lookup. | |||
| 2019-09-25 | Fixed #30800 -- Fixed migrations crash when altering a field with custom ↵ | Mariusz Felisiak | |
| db_type(). Regression in 1378d665a1c85897d951f2ca9618b848fdbba2e7. | |||
| 2019-09-24 | Refs #29444 -- Removed redundant ↵ | Mariusz Felisiak | |
| DatabaseFeatures.can_return_multiple_columns_from_insert. Unnecessary since b31e63879eb5d9717e9f890401f7222e4f00c910. | |||
| 2019-09-09 | Refs #29444 -- Allowed returning multiple fields from INSERT statements on ↵ | Johannes Hoppe | |
| PostgreSQL. Thanks Florian Apolloner, Tim Graham, Simon Charette, Nick Pope, and Mariusz Felisiak for reviews. | |||
| 2019-08-21 | Fixed #21039 -- Added AddIndexConcurrently/RemoveIndexConcurrently ↵ | Mads Jensen | |
| operations for PostgreSQL. Thanks to Simon Charettes for review. Co-Authored-By: Daniel Tao <daniel.tao@gmail.com> | |||
| 2019-08-02 | Fixed #30661 -- Added models.SmallAutoField. | Nick Pope | |
| 2019-08-01 | Refs #30664 -- Fixed migrations crash when altering AutoField/BigAutoField ↵ | Mariusz Felisiak | |
| with quoted db_column on PostgreSQL. | |||
| 2019-08-01 | Fixed #30664 -- Fixed migrations crash when altering table on SQLite or ↵ | Ngalim Siregar | |
| altering AutoField/BigAutoField on PostgreSQL for models with quoted db_table. | |||
| 2019-07-22 | Fixed #30644 -- Made introspection use pg_table_is_visible() instead of ↵ | Georgi Yanchev | |
| filtering by public schema on PostgreSQL. | |||
| 2019-07-20 | Simplified get_key_columns()/get_relations() introspection methods for ↵ | Mariusz Felisiak | |
| PostgreSQL. | |||
| 2019-07-08 | Refs #29444 -- Added support for fetching a returned non-integer insert ↵ | Johannes Hoppe | |
| values on Oracle. This is currently not actively used, since the ORM will ask the SQL compiler to only return auto fields. | |||
| 2019-06-20 | Fixed #30451 -- Added ASGI handler and coroutine-safety. | Andrew Godwin | |
| This adds an ASGI handler, asgi.py file for the default project layout, a few async utilities and adds async-safety to many parts of Django. | |||
| 2019-06-13 | Fixed #30128 -- Fixed handling timedelta timezone in database functions. | can | |
| 2019-05-21 | Fixed #28816 -- Prevented silencing data loss when decreasing ↵ | Hasan Ramezani | |
| CharField.max_length on PostgreSQL. | |||
| 2019-04-30 | Fixed #30408 -- Fixed crash when adding check constraints with LIKE operator ↵ | Simon Charette | |
| on Oracle and PostgreSQL. The LIKE operator wildcard generated for contains, startswith, endswith and their case-insensitive variant lookups was conflicting with parameter interpolation on CREATE constraint statement execution. Ideally we'd delegate parameters interpolation in DDL statements on backends that support it but that would require backward incompatible changes to the Index and Constraint SQL generating methods. Thanks David Sanders for the report. | |||
| 2019-04-29 | Fixed #30148 -- Logged COPY ... TO statements in connection.queries on ↵ | kingbuzzman | |
| PostgreSQL. | |||
| 2019-04-18 | Fixed #30370 -- Added dbshell support for client TLS certificates on PostgreSQL. | Oleh Mykytiuk | |
| 2019-04-08 | Fixed #30266 -- Kept a sequence owner when altering an ↵ | Dolan Antenucci | |
| AutoField/BigAutoField on PostgreSQL. | |||
| 2019-04-05 | Fixed #30331 -- Added support for psycopg2 2.8. | Mariusz Felisiak | |
| 2019-03-29 | Removed unnecessary /static from links to PostgreSQL docs. | Nick Pope | |
| 2019-03-28 | Fixed "byte string" typo in various docs and comments. | Mariusz Felisiak | |
| 2019-03-18 | Fixed #30258 -- Adjusted postgres schema value quoting of ranges. | Simon Charette | |
| Thanks Tilman Koschnick for the report and patch. | |||
| 2019-02-20 | Fixed #30193, Refs #28478 -- Avoided PostgreSQL connection health checks on ↵ | Simon Charette | |
| initialization. This addressed a regression introduced by a96b9019320ed8236659ee520a7a017c1bafbc6f as identified by Ran Benita. | |||
| 2019-02-14 | Fixed #30171 -- Fixed DatabaseError in servers tests. | Jon Dufresne | |
| Made DatabaseWrapper thread sharing logic reentrant. Used a reference counting like scheme to allow nested uses. The error appeared after 8c775391b78b2a4a2b57c5e89ed4888f36aada4b. | |||
| 2019-02-13 | Fixed #30173 -- Simplified db.backends.postgresql.client. | Daniel Bowring | |
| 2019-02-13 | Fixed #30184 -- Removed ellipsis characters from shell output strings. | Dan Davis | |
| Partially reverted 50b8493581fea3d7137dd8db33bac7008868d23a (refs #29654) to avoid a crash when the user shell doesn't support non-ASCII characters. | |||
| 2019-02-06 | Refs #27753 -- Favored SafeString over SafeText. | Tim Graham | |
| 2019-02-04 | Fixed #30155 -- Dropped support for PostgreSQL 9.4 and PostGIS 2.1. | Tim Graham | |
