summaryrefslogtreecommitdiff
path: root/django/contrib/postgres/operations.py
AgeCommit message (Collapse)Author
2026-03-24Fixed #36985 -- Skipped CreateExtension backwards operation on ↵varunkasyap
non-PostgreSQL databases.
2025-07-22Fixed #36377 -- Added hints support to CreateExtension and subclasses.Anthony Sottile
2024-10-10Fixed #35717 -- Reduced Create/RemoveCollation operations when optimizing ↵Adam Johnson
migrations.
2024-01-17Fixed #31700 -- Made makemigrations command display meaningful symbols for ↵Amir Karimi
each operation.
2022-12-15Fixed #33308 -- Added support for psycopg version 3.Daniele Varrazzo
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>
2022-05-19Fixed #33717 -- Dropped support for PostgreSQL 11.Mariusz Felisiak
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
2021-06-08Fixed #31653 -- Added AddConstraintNotValid()/ValidateConstraint() ↵Sanskar Jaiswal
operations for PostgreSQL.
2021-01-19Fixed #32357 -- Dropped support for PostgreSQL 9.6 and PostGIS 2.3.Mariusz Felisiak
2020-10-21Fixed #32046 -- Added CreateCollation/RemoveCollation operations for PostgreSQL.Tom Carrick
2020-06-03Refs #31615 -- Added EXISTS clauses to extension operations.Adam Johnson
2020-05-28Fixed #31468 -- Allowed specifying migration filename in Operation.Adam Johnson
This adds also suggested filename for many built-in operations.
2020-05-27Fixed #31615 -- Made migrations skip extension operations if not needed.Frantisek Holop
- Don't try to create an existing extension. - Don't try to drop a nonexistent extension.
2020-03-09Fixed #31347 -- Checked allow_migrate() in CreateExtension operation.Hasan Ramezani
2020-02-04Simplified imports from django.db and django.contrib.gis.db.Nick Pope
2019-11-07Fixed #30943 -- Added BloomIndex to django.contrib.postgres.Nick Pope
2019-08-21Fixed #21039 -- Added AddIndexConcurrently/RemoveIndexConcurrently ↵Mads Jensen
operations for PostgreSQL. Thanks to Simon Charettes for review. Co-Authored-By: Daniel Tao <daniel.tao@gmail.com>
2017-09-15Fixed #28334 -- Added caching for hstore/citext OIDs.Igor Gumenyuk
2017-09-04Fixed #28126 -- Added GistIndex to contrib.postgres.Mads Jensen
Thanks to Marc Tamlyn for the initial patch.
2017-05-04Fixed #28161 -- Fixed return type of ArrayField(CITextField()).Simon Charette
Thanks Tim for the review.
2017-04-25Fixed #27996 -- Added RandomUUID function and CryptoExtension to ↵Paolo Melchiorre
contrib.postgres.
2017-01-25Refs #23919 -- Replaced super(ClassName, self) with super().chillaranand
2016-09-21Alphabetized classes in contrib.postgres.operations.Tim Graham
2016-09-21Fixed #26610 -- Added CITextField to contrib.postgres.Mads Jensen
2016-08-12Refs #27030 -- Added BtreeGinExtension operation.Akshesh
2016-05-13Fixed #24938 -- Added PostgreSQL trigram support.Matthew Somerville
2016-04-27Fixed #26542 -- Fixed quoting in CreateExtension operation.Conrad Kramer
2015-04-18Stopped special-casing postgres-specific testsClaude Paroz
Refs #23879.
2014-11-28Fixed #23423 -- Added unaccent lookup in django.contrib.postgresThomas Chaumeny
2014-11-22Revert "Fixed #23892 -- Made deconstructible classes forwards compatible"Carl Meyer
This reverts commit f36151ed169813f2873e13ca9de616cfa4095321. Adding kwargs to deconstructed objects does not achieve useful forward-compatibility in general, since additional arguments are silently dropped rather than having their intended effect. In fact, it can make the failure more difficult to diagnose. Thanks Shai Berger for discussion.
2014-11-22Fixed #23892 -- Made deconstructible classes forwards compatibleCarl Meyer
2014-11-04Added HStoreField.Marc Tamlyn
Thanks to `django-hstore` for inspiration in some areas, and many people for reviews.