Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fixed #16055 -- Fixed crash when filtering against char/text GenericRelation ↵ | David Wobrock | 2023-04-18 | 1 | -0/+11 |
| | | | | relation on PostgreSQL. | ||||
* | Fixed #33308 -- Added support for psycopg version 3. | Daniele Varrazzo | 2022-12-15 | 1 | -23/+67 |
| | | | | | | | Thanks Simon Charette, Tim Graham, and Adam Johnson for reviews. Co-authored-by: Florian Apolloner <florian@apolloner.eu> Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com> | ||||
* | Refs #33308 -- Added DatabaseOperations.compose_sql() on PostgreSQL. | Florian Apolloner | 2022-12-12 | 1 | -1/+4 |
| | |||||
* | Refs #33308 -- Moved psycopg2 imports to the psycopg_any module. | Florian Apolloner | 2022-12-12 | 1 | -3/+1 |
| | |||||
* | Refs #33308 -- Used get_db_prep_value() to adapt JSONFields. | Simon Charette | 2022-11-15 | 1 | -0/+14 |
| | |||||
* | Fixed #33872 -- Deprecated ↵ | Mariusz Felisiak | 2022-08-03 | 1 | -0/+1 |
| | | | | django.contrib.postgres.fields.CIText/CICharField/CIEmailField/CITextField. | ||||
* | Refs CVE-2022-34265 -- Properly escaped Extract() and Trunc() parameters. | Simon Charette | 2022-07-06 | 1 | -34/+40 |
| | | | | Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com> | ||||
* | Removed unneeded code in explain_query_prefix() | Tim Graham | 2022-04-14 | 1 | -1/+1 |
| | |||||
* | Fixed CVE-2022-28347 -- Protected QuerySet.explain(**options) against SQL ↵ | Mariusz Felisiak | 2022-04-11 | 1 | -8/+23 |
| | | | | injection on PostgreSQL. | ||||
* | Refs #33517 -- Prevented __second lookup from returning fractional seconds ↵ | nabil-rady | 2022-02-22 | 1 | -0/+9 |
| | | | | on PostgreSQL. | ||||
* | Refs #33476 -- Refactored code to strictly match 88 characters line length. | Mariusz Felisiak | 2022-02-07 | 1 | -6/+9 |
| | |||||
* | Refs #33476 -- Reformatted code with Black. | django-bot | 2022-02-07 | 1 | -61/+94 |
| | |||||
* | Fixed #31685 -- Added support for updating conflicts to QuerySet.bulk_create(). | sean_c_hsu | 2022-01-19 | 1 | -2/+15 |
| | | | | | Thanks Florian Apolloner, Chris Jerdonek, Hannes Ljungberg, Nick Pope, and Mariusz Felisiak for reviews. | ||||
* | Fixed #33279 -- Fixed handling time zones with "-" sign in names. | Can Sarigol | 2021-11-12 | 1 | -4/+5 |
| | | | | | | Thanks yakimka for the report. Regression in fde9b7d35e4e185903cc14aa587ca870037941b1. | ||||
* | Fixed #31640 -- Made Trunc() truncate datetimes to Date/TimeField in a ↵ | David-Wobrock | 2020-10-14 | 1 | -3/+5 |
| | | | | specific timezone. | ||||
* | Fixed #31956 -- Fixed crash of ordering by JSONField with a custom decoder ↵ | Mariusz Felisiak | 2020-08-28 | 1 | -3/+0 |
| | | | | | | | on PostgreSQL. Thanks Marc Debureaux for the report. Thanks Simon Charette, Nick Pope, and Adam Johnson for reviews. | ||||
* | Fixed #31731 -- Removed unreachable code for resetting sequences of ↵ | Ravindar Sharma | 2020-07-17 | 1 | -15/+0 |
| | | | | | | | | | | | | | | | 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. | ||||
* | Stopped adapting DecimalField values to strings on PostgreSQL. | Simon Charette | 2020-07-14 | 1 | -0/+3 |
| | | | | The psycopg2 backend uses the type information to provide type hints. | ||||
* | Fixed #12990, Refs #27694 -- Added JSONField model field. | sage | 2020-05-08 | 1 | -0/+3 |
| | | | | | | | | | | | 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 #31473 -- Made sql_flush() use RESTART IDENTITY to reset sequences on ↵ | Jon Dufresne | 2020-04-17 | 1 | -16/+9 |
| | | | | | | | | | | | | 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. | ||||
* | Simplified DatabaseOperations.sql_flush() on Oracle and PostgreSQL. | Jon Dufresne | 2020-04-17 | 1 | -20/+20 |
| | | | | Added early return to decrease an indentation level. | ||||
* | Fixed #31212 -- Updated psycopg links to HTTPS and new location. | Jon Dufresne | 2020-01-29 | 1 | -1/+1 |
| | |||||
* | Fixed #31183 -- Added a feature flag for "<db> only supports UNBOUNDED ↵ | Tim Graham | 2020-01-20 | 1 | -10/+0 |
| | | | | together with PRECEDING and FOLLOWING". | ||||
* | Fixed #31133 -- Fixed crash when subtracting against a subquery annotation. | Simon Charette | 2020-01-03 | 1 | -1/+2 |
| | | | | | | | | | 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. | ||||
* | Fixed #30821 -- Added ExtractIsoWeekYear database function and iso_week_day ↵ | Anatol Ulrich | 2019-10-02 | 1 | -0/+2 |
| | | | | lookup. | ||||
* | Refs #29444 -- Allowed returning multiple fields from INSERT statements on ↵ | Johannes Hoppe | 2019-09-09 | 1 | -6/+13 |
| | | | | | | | PostgreSQL. Thanks Florian Apolloner, Tim Graham, Simon Charette, Nick Pope, and Mariusz Felisiak for reviews. | ||||
* | Fixed #30661 -- Added models.SmallAutoField. | Nick Pope | 2019-08-02 | 1 | -0/+1 |
| | |||||
* | Refs #29444 -- Added support for fetching a returned non-integer insert ↵ | Johannes Hoppe | 2019-07-08 | 1 | -1/+1 |
| | | | | | | | values on Oracle. This is currently not actively used, since the ORM will ask the SQL compiler to only return auto fields. | ||||
* | Fixed #30128 -- Fixed handling timedelta timezone in database functions. | can | 2019-06-13 | 1 | -1/+8 |
| | |||||
* | Removed unnecessary /static from links to PostgreSQL docs. | Nick Pope | 2019-03-29 | 1 | -4/+4 |
| | |||||
* | Fixed #28649 -- Added ExtractIsoYear database function and iso_year lookup. | Sigurd Ljødal | 2018-08-18 | 1 | -0/+2 |
| | |||||
* | Fixed #28668 -- Allowed QuerySet.bulk_create() to ignore insert conflicts. | Tom | 2018-08-03 | 1 | -0/+3 |
| | |||||
* | Fixed #29569 -- Fixed Cast() with AutoField and BigAutoField. | Mariusz Felisiak | 2018-07-25 | 1 | -0/+4 |
| | |||||
* | Fixed #28574 -- Added QuerySet.explain(). | Tom | 2018-04-19 | 1 | -0/+15 |
| | |||||
* | Fixed #24747 -- Allowed transforms in QuerySet.order_by() and distinct(*fields). | Matthew Wilkes | 2018-02-10 | 1 | -3/+4 |
| | |||||
* | Fixed #28982 -- Simplified code with and/or. | Дилян Палаузов | 2018-01-03 | 1 | -5/+3 |
| | |||||
* | Fixed #28860 -- Removed unnecessary len() calls. | Дилян Палаузов | 2017-12-04 | 1 | -1/+1 |
| | |||||
* | Fixed #28702 -- Made query lookups for CIText fields use citext. | Mads Jensen | 2017-11-29 | 1 | -0/+2 |
| | |||||
* | Fixed #26608 -- Added support for window expressions (OVER clause). | Mads Jensen | 2017-09-18 | 1 | -0/+10 |
| | | | | | Thanks Josh Smeaton, Mariusz Felisiak, Sergey Fedoseev, Simon Charettes, Adam Chainz/Johnson and Tim Graham for comments and reviews and Jamie Cockburn for initial patch. | ||||
* | Removed unused DatabaseOperations.last_insert_id() on PostgreSQL. | Mariusz Felisiak | 2017-08-01 | 1 | -7/+0 |
| | | | Unused since 9eb2afddfa0165d69f3e506122c2aa2b68618591. | ||||
* | Fixed #28371 -- Fixed Cast() with CharField if the max_length argument isn't ↵ | Mariusz Felisiak | 2017-07-27 | 1 | -0/+2 |
| | | | | | provided. Thanks Tim Graham for the review. | ||||
* | Fixed #28038 -- Restored casting to text of builtin lookups on PostgreSQL. | Simon Charette | 2017-04-07 | 1 | -2/+0 |
| | | | | | | | Reverted 658f1e8 which broke code using __icontains's implicit cast to ::text on ArrayField. Thanks Peter J. Farrell for the report. | ||||
* | Refs #27656 -- Updated django.db docstring verbs according to PEP 257. | Anton Samarchyan | 2017-02-28 | 1 | -7/+6 |
| | |||||
* | Refs #26285 -- Removed postgresql's unused ↵ | Tim Graham | 2017-02-21 | 1 | -6/+0 |
| | | | | | | DatabaseOperations.fulltext_search_sql(). Should have been removed in 5139832398624be75ee5361a6fac9348fdb61093. | ||||
* | Fixed #27856 -- Improved accuracy of date subtraction on PostgreSQL. | Vytis Banaitis | 2017-02-21 | 1 | -1/+1 |
| | | | | Accuracy was incorrect when dates differ by a month or more. | ||||
* | Refs #23919 -- Removed default 'utf-8' argument for str.encode()/decode(). | Tim Graham | 2017-02-09 | 1 | -1/+1 |
| | |||||
* | Fixed #27802 -- Unified return value of db backend datetime SQL methods. | Mariusz Felisiak | 2017-02-06 | 1 | -17/+10 |
| | |||||
* | Refs #23919 -- Replaced super(ClassName, self) with super(). | chillaranand | 2017-01-25 | 1 | -1/+1 |
| | |||||
* | Refs #23919 -- Removed encoding preambles and future imports | Claude Paroz | 2017-01-18 | 1 | -2/+0 |
| | |||||
* | Updated postgresql.org links to https and made them canonical. | Marti Raudsepp | 2016-10-25 | 1 | -4/+4 |
| |