| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2021-11-12 | [4.0.x] Fixed #33279 -- Fixed handling time zones with "-" sign in names. | Can Sarigol | |
| Thanks yakimka for the report. Regression in fde9b7d35e4e185903cc14aa587ca870037941b1. Backport of 661316b066923493ff91d6d2aa92e463f595a6b1 from main. | |||
| 2021-10-01 | [4.0.x] Fixed #33160 -- Avoided suppressing query errors in _nodb_cursor() ↵ | Daniel Hahler | |
| on PostgreSQL. Backport of 98c8bf1ceeab5c68751c83555f82cff1a9120a67 from main | |||
| 2021-08-24 | Refs #10929 -- Allowed NowUTC SQL customization for third-party backends. | Tim Graham | |
| 2021-07-05 | Refs #32508 -- Raised ImproperlyConfigured/TypeError instead of using "assert". | Mateo Radman | |
| 2021-04-27 | Fixed #32687 -- Restored passing process’ environment to underlying tool ↵ | Konstantin Alekseev | |
| in dbshell on PostgreSQL. Regression in bbe6fbb8768e8fb1aecb96d51c049d7ceaf802d3. | |||
| 2021-03-01 | Fixed #32456 -- Added dbshell support for specifying a password file on ↵ | Hasan Ramezani | |
| PostgreSQL. | |||
| 2021-02-26 | Refs #32292 -- Made dbshell do not use 'postgres' database when service name ↵ | Mariusz Felisiak | |
| is set. Regression in dcb3ad3319cad5c270a1856fd5f355e37cf9d474. | |||
| 2021-02-10 | Fixed #32355 -- Dropped support for Python 3.6 and 3.7 | Mariusz Felisiak | |
| 2021-02-02 | Fixed #32403 -- Fixed re-raising DatabaseErrors when using only 'postgres' ↵ | Mariusz Felisiak | |
| database. Thanks Kazantcev Andrey for the report. Regression in f48f671223a20b161ca819cf7d6298e43b8ba5fe. | |||
| 2021-01-20 | Fixed #32292 -- Added support for connection by service name to PostgreSQL. | Hasan Ramezani | |
| 2021-01-19 | Fixed #32357 -- Dropped support for PostgreSQL 9.6 and PostGIS 2.3. | Mariusz Felisiak | |
| 2021-01-14 | Refs #31369 -- Removed models.NullBooleanField per deprecation timeline. | Mariusz Felisiak | |
| 2021-01-14 | Refs #26167 -- Changed default value of ↵ | Hannes Ljungberg | |
| DatabaseFeatures.supports_expression_indexes to True. | |||
| 2021-01-13 | Fixed #26167 -- Added support for functional indexes. | Hannes Ljungberg | |
| Thanks Simon Charette, Mads Jensen, and Mariusz Felisiak for reviews. Co-authored-by: Markus Holtermann <info@markusholtermann.eu> | |||
| 2020-12-23 | Refs #26167 -- Made DatabaseSchemaEditor._create_index_sql()'s fields ↵ | Hannes Ljungberg | |
| argument optional and kwarg-only. | |||
| 2020-12-10 | Fixed #32178 -- Allowed database backends to skip tests and mark expected ↵ | Hasan Ramezani | |
| failures. Co-authored-by: Tim Graham <timograham@gmail.com> | |||
| 2020-11-19 | Fixed #32201 -- Removed obsolete isort:skip's. | Seamus Quinn | |
| Obsolete as of isort 5. | |||
| 2020-10-29 | Refs #32061 -- Unified DatabaseClient.runshell() in db backends. | Simon Charette | |
| 2020-10-21 | Fixed #32046 -- Added CreateCollation/RemoveCollation operations for PostgreSQL. | Tom Carrick | |
| 2020-10-14 | Fixed #31640 -- Made Trunc() truncate datetimes to Date/TimeField in a ↵ | David-Wobrock | |
| specific timezone. | |||
| 2020-10-06 | Fixed #32073 -- Skipped collation tests on PostgreSQL < 10. | Mariusz Felisiak | |
| PostgreSQL < 10 doesn't support ICU collations. Thanks Hannes Ljungberg for the report. | |||
| 2020-09-21 | Fixed #31777 -- Added support for database collations to Char/TextFields. | Tom Carrick | |
| Thanks Simon Charette and Mariusz Felisiak for reviews. | |||
| 2020-09-18 | Refs #21181 -- Corrected DatabaseFeatures.test_collations for Swedish collation. | Tom Carrick | |
| Previously, backends used different keys "swedish-ci" or "swedish_ci". | |||
| 2020-09-15 | Added DatabaseIntrospection.index_default_access_method hook on the ↵ | Tim Graham | |
| PostgreSQL backend. This hook is for the CockroachDB backend where the name is 'prefix'. | |||
| 2020-08-28 | Fixed #31956 -- Fixed crash of ordering by JSONField with a custom decoder ↵ | Mariusz Felisiak | |
| on PostgreSQL. Thanks Marc Debureaux for the report. Thanks Simon Charette, Nick Pope, and Adam Johnson for reviews. | |||
| 2020-08-24 | Fixed #24533 -- Dropped PostgreSQL sequence and Oracle identity when ↵ | Tim Graham | |
| migrating away from AutoField. | |||
| 2020-08-11 | Fixed #21181 -- Added Collate database function. | Tom Carrick | |
| Thanks Simon Charette for reviews. | |||
| 2020-07-30 | Refs #31829 -- Added ↵ | Tim Graham | |
| DatabaseFeatures.json_key_contains_list_matching_requires_list. CockroachDB's behavior matches PostgreSQL. | |||
| 2020-07-28 | Refs #27996 -- Doc'd no extension required for RandomUUID() on PostgreSQL 13+. | Nick Pope | |
| https://www.postgresql.org/docs/13/functions-uuid.html https://www.postgresql.org/docs/13/pgcrypto.html#id-1.11.7.34.10.5 | |||
| 2020-07-27 | Fixed #31815 -- Fixed schema value encoding on PostgreSQL. | Mariusz Felisiak | |
| 2020-07-17 | Fixed #31731 -- Removed unreachable code for resetting sequences of ↵ | Ravindar Sharma | |
| auto-created m2m tables in sequence_reset_sql(). Unreachable because f.remote_field.through is truthy for all m2m fields. Resetting sequences of auto-created m2m tables in sequence_reset_sql() is also unnecessary: - in sqlsequencereset since c39ec6dccb389fbb4047e44f5247e18bb76ae598 because auto-created tables are included in model_list, - in loaddata because there is no it need to reset sequences for models not loaded directly. - in create_default_site() because it doesn't have m2m fields. | |||
| 2020-07-14 | Stopped adapting DecimalField values to strings on PostgreSQL. | Simon Charette | |
| The psycopg2 backend uses the type information to provide type hints. | |||
| 2020-06-24 | Fixed #31735 -- Fixed migrations crash on namespaced inline FK addition on ↵ | Simon Charette | |
| PostgreSQL. The namespace of the constraint must be included when making the constraint immediate. Regression in 22ce5d0031bd795ade081394043833e82046016c. Thanks Rodrigo Estevao for the report. | |||
| 2020-06-04 | Fixed #30913 -- Added support for covering indexes on PostgreSQL 11+. | Hannes Ljungberg | |
| 2020-06-04 | Fixed #31630 -- Replaced introspection features with ↵ | Hasan Ramezani | |
| DatabaseFeatures.introspected_field_types. | |||
| 2020-05-21 | Fixed #30375 -- Added FOR NO KEY UPDATE support to ↵ | Manuel Weitzman | |
| QuerySet.select_for_update() on PostgreSQL. | |||
| 2020-05-18 | Refs #12990 -- Added DatabaseFeatures.has_json_operators. | Tim Graham | |
| CockroachDB also has them. | |||
| 2020-05-14 | Fixed #31579 -- Dropped support for PostgreSQL 9.5 and PostGIS 2.2. | Mariusz Felisiak | |
| 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. | |||
