summaryrefslogtreecommitdiff
path: root/django/db/backends/postgresql/operations.py
AgeCommit message (Expand)Author
2025-12-26Fixed #36112 -- Added fallback in last_executed_query() on Oracle and Postgre...VIZZARD-X
2025-09-23Fixed #36616 -- Added DatabaseOperations.adapt_durationfield_value().Tim Graham
2025-08-28Refs #27222 -- Implemented BaseDatabaseOperations.return_insert_columns()/fet...Simon Charette
2025-07-23Refs #36500 -- Rewrapped long docstrings and block comments via a script.django-bot
2024-12-11Fixed #35936 -- Used unnest for bulk inserts on Postgres when possible.Simon Charette
2024-12-09Refs #35982 -- Made BaseDatabaseOperations.adapt_decimalfield_value() a no-op.Simon Charette
2024-10-30Fixed #35856 -- Added QuerySet.explain() support for MEMORY/SERIALIZE option ...Anthony Joseph
2024-03-14Refs #35295 -- Added BaseDatabaseOperations.bulk_insert_sql().Mariusz Felisiak
2024-03-06Fixed #35021 -- Fixed capturing queries when using client-side parameters bin...Michail Chatzis
2023-09-26Fixed #34873 -- Added QuerySet.explain() support for GENERIC_PLAN option on P...Mariusz Felisiak
2023-09-22Fixed #34840 -- Avoided casting string base fields on PostgreSQL.Mariusz Felisiak
2023-09-18Refs #33872 -- Removed django.contrib.postgres.fields.CIText/CICharField/CIEm...Mariusz Felisiak
2023-04-18Fixed #16055 -- Fixed crash when filtering against char/text GenericRelation ...David Wobrock
2022-12-15Fixed #33308 -- Added support for psycopg version 3.Daniele Varrazzo
2022-12-12Refs #33308 -- Added DatabaseOperations.compose_sql() on PostgreSQL.Florian Apolloner
2022-12-12Refs #33308 -- Moved psycopg2 imports to the psycopg_any module.Florian Apolloner
2022-11-15Refs #33308 -- Used get_db_prep_value() to adapt JSONFields.Simon Charette
2022-08-03Fixed #33872 -- Deprecated django.contrib.postgres.fields.CIText/CICharField/...Mariusz Felisiak
2022-07-06Refs CVE-2022-34265 -- Properly escaped Extract() and Trunc() parameters.Simon Charette
2022-04-14Removed unneeded code in explain_query_prefix()Tim Graham
2022-04-11Fixed CVE-2022-28347 -- Protected QuerySet.explain(**options) against SQL inj...Mariusz Felisiak
2022-02-22Refs #33517 -- Prevented __second lookup from returning fractional seconds on...nabil-rady
2022-02-07Refs #33476 -- Refactored code to strictly match 88 characters line length.Mariusz Felisiak
2022-02-07Refs #33476 -- Reformatted code with Black.django-bot
2022-01-19Fixed #31685 -- Added support for updating conflicts to QuerySet.bulk_create().sean_c_hsu
2021-11-12Fixed #33279 -- Fixed handling time zones with "-" sign in names.Can Sarigol
2020-10-14Fixed #31640 -- Made Trunc() truncate datetimes to Date/TimeField in a specif...David-Wobrock
2020-08-28Fixed #31956 -- Fixed crash of ordering by JSONField with a custom decoder on...Mariusz Felisiak
2020-07-17Fixed #31731 -- Removed unreachable code for resetting sequences of auto-crea...Ravindar Sharma
2020-07-14Stopped adapting DecimalField values to strings on PostgreSQL.Simon Charette
2020-05-08Fixed #12990, Refs #27694 -- Added JSONField model field.sage
2020-04-17Fixed #31473 -- Made sql_flush() use RESTART IDENTITY to reset sequences on P...Jon Dufresne
2020-04-17Simplified DatabaseOperations.sql_flush() on Oracle and PostgreSQL.Jon Dufresne
2020-01-29Fixed #31212 -- Updated psycopg links to HTTPS and new location.Jon Dufresne
2020-01-20Fixed #31183 -- Added a feature flag for "<db> only supports UNBOUNDED togeth...Tim Graham
2020-01-03Fixed #31133 -- Fixed crash when subtracting against a subquery annotation.Simon Charette
2019-10-02Fixed #30821 -- Added ExtractIsoWeekYear database function and iso_week_day l...Anatol Ulrich
2019-09-09Refs #29444 -- Allowed returning multiple fields from INSERT statements on Po...Johannes Hoppe
2019-08-02Fixed #30661 -- Added models.SmallAutoField.Nick Pope
2019-07-08Refs #29444 -- Added support for fetching a returned non-integer insert value...Johannes Hoppe
2019-06-13Fixed #30128 -- Fixed handling timedelta timezone in database functions.can
2019-03-29Removed unnecessary /static from links to PostgreSQL docs.Nick Pope
2018-08-18Fixed #28649 -- Added ExtractIsoYear database function and iso_year lookup.Sigurd Ljødal
2018-08-03Fixed #28668 -- Allowed QuerySet.bulk_create() to ignore insert conflicts.Tom
2018-07-25Fixed #29569 -- Fixed Cast() with AutoField and BigAutoField.Mariusz Felisiak
2018-04-19Fixed #28574 -- Added QuerySet.explain().Tom
2018-02-10Fixed #24747 -- Allowed transforms in QuerySet.order_by() and distinct(*fields).Matthew Wilkes
2018-01-03Fixed #28982 -- Simplified code with and/or.Дилян Палаузов
2017-12-04Fixed #28860 -- Removed unnecessary len() calls.Дилян Палаузов
2017-11-29Fixed #28702 -- Made query lookups for CIText fields use citext.Mads Jensen