summaryrefslogtreecommitdiff
path: root/django/db/backends/postgresql/features.py
Commit message (Collapse)AuthorAgeFilesLines
* Fixed #470 -- Added support for database defaults on fields.Ian Foote2023-05-121-0/+1
| | | | | | | | Special thanks to Hannes Ljungberg for finding multiple implementation gaps. Thanks also to Simon Charette, Adam Johnson, and Mariusz Felisiak for reviews.
* Fixed #34544 -- Avoided DBMS_LOB.SUBSTR() wrapping with IS NULL condition on ↵Mariusz Felisiak2023-05-081-0/+3
| | | | | | | | | Oracle. Regression in 09ffc5c1212d4ced58b708cbbf3dfbfb77b782ca. Thanks Michael Smith for the report. This also reverts commit 1e4da439556cdd69eb9f91e07f99cf77997e70d2.
* Refs #34255 -- Skipped test_group_by_nested_expression_with_params test on ↵Mariusz Felisiak2023-01-271-0/+20
| | | | | PostgreSQL when server-side binding cursors are used. Thanks Tim Graham for the review.
* Fixed #14094 -- Added support for unlimited CharField on PostgreSQL.Adrian Torres2022-12-281-0/+1
| | | | Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
* Fixed #18468 -- Added support for comments on columns and tables.kimsoungryoul2022-12-281-0/+1
| | | | | | | | Thanks Jared Chung, Tom Carrick, David Smith, Nick Pope, and Mariusz Felisiak for reviews. Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com> Co-authored-by: Nick Pope <nick@nickpope.me.uk>
* Fixed #33308 -- Added support for psycopg version 3.Daniele Varrazzo2022-12-151-1/+10
| | | | | | | 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>
* Fixed #32234 -- Made inspectdb inform about composite primary keys.Anv3sh2022-06-011-0/+7
|
* Fixed #33717 -- Dropped support for PostgreSQL 11.Mariusz Felisiak2022-05-191-9/+1
|
* Refs #27064 -- Added RenameIndex migration operation.David Wobrock2022-05-121-0/+1
|
* Fixed #33675 -- Dropped support for PostgreSQL 10 and PostGIS 2.4.Mariusz Felisiak2022-05-041-7/+2
|
* Fixed CVE-2022-28347 -- Protected QuerySet.explain(**options) against SQL ↵Mariusz Felisiak2022-04-111-1/+0
| | | | injection on PostgreSQL.
* Fixed #33379 -- Added minimum database version checks.Hasan Ramezani2022-02-181-0/+1
| | | | Thanks Tim Graham for the review.
* Refs #33476 -- Refactored code to strictly match 88 characters line length.Mariusz Felisiak2022-02-071-1/+2
|
* Refs #33476 -- Reformatted code with Black.django-bot2022-02-071-14/+16
|
* Fixed #31685 -- Added support for updating conflicts to QuerySet.bulk_create().sean_c_hsu2022-01-191-0/+2
| | | | | Thanks Florian Apolloner, Chris Jerdonek, Hannes Ljungberg, Nick Pope, and Mariusz Felisiak for reviews.
* Fixed #33228 -- Changed value of ↵Chinmoy2021-10-281-1/+0
| | | | BaseDatabaseFeatures.has_case_insensitive_like to False.
* Refs #32943 -- Added support for covering SP-GiST indexes on PostgreSQL 14+.Nick Pope2021-10-011-0/+1
|
* Fixed #32961 -- Added BitXor() aggregate to django.contrib.postgres.Nick Pope2021-10-011-0/+5
|
* Refs #10929 -- Allowed NowUTC SQL customization for third-party backends.Tim Graham2021-08-241-0/+1
|
* Fixed #32357 -- Dropped support for PostgreSQL 9.6 and PostGIS 2.3.Mariusz Felisiak2021-01-191-17/+4
|
* Refs #26167 -- Changed default value of ↵Hannes Ljungberg2021-01-141-1/+0
| | | | DatabaseFeatures.supports_expression_indexes to True.
* Fixed #26167 -- Added support for functional indexes.Hannes Ljungberg2021-01-131-0/+1
| | | | | | Thanks Simon Charette, Mads Jensen, and Mariusz Felisiak for reviews. Co-authored-by: Markus Holtermann <info@markusholtermann.eu>
* Fixed #32178 -- Allowed database backends to skip tests and mark expected ↵Hasan Ramezani2020-12-101-0/+6
| | | | | failures. Co-authored-by: Tim Graham <timograham@gmail.com>
* Fixed #32046 -- Added CreateCollation/RemoveCollation operations for PostgreSQL.Tom Carrick2020-10-211-0/+1
|
* Fixed #32073 -- Skipped collation tests on PostgreSQL < 10.Mariusz Felisiak2020-10-061-4/+10
| | | | | PostgreSQL < 10 doesn't support ICU collations. Thanks Hannes Ljungberg for the report.
* Fixed #31777 -- Added support for database collations to Char/TextFields.Tom Carrick2020-09-211-0/+2
| | | | Thanks Simon Charette and Mariusz Felisiak for reviews.
* Refs #21181 -- Corrected DatabaseFeatures.test_collations for Swedish collation.Tom Carrick2020-09-181-1/+1
| | | | Previously, backends used different keys "swedish-ci" or "swedish_ci".
* Fixed #21181 -- Added Collate database function.Tom Carrick2020-08-111-0/+3
| | | | Thanks Simon Charette for reviews.
* Refs #31829 -- Added ↵Tim Graham2020-07-301-0/+1
| | | | | DatabaseFeatures.json_key_contains_list_matching_requires_list. CockroachDB's behavior matches PostgreSQL.
* Refs #27996 -- Doc'd no extension required for RandomUUID() on PostgreSQL 13+.Nick Pope2020-07-281-0/+4
| | | | | https://www.postgresql.org/docs/13/functions-uuid.html https://www.postgresql.org/docs/13/pgcrypto.html#id-1.11.7.34.10.5
* Fixed #30913 -- Added support for covering indexes on PostgreSQL 11+.Hannes Ljungberg2020-06-041-0/+2
|
* Fixed #31630 -- Replaced introspection features with ↵Hasan Ramezani2020-06-041-3/+9
| | | | DatabaseFeatures.introspected_field_types.
* Fixed #30375 -- Added FOR NO KEY UPDATE support to ↵Manuel Weitzman2020-05-211-0/+1
| | | | QuerySet.select_for_update() on PostgreSQL.
* Refs #12990 -- Added DatabaseFeatures.has_json_operators.Tim Graham2020-05-181-0/+1
| | | CockroachDB also has them.
* Fixed #31579 -- Dropped support for PostgreSQL 9.5 and PostGIS 2.2.Mariusz Felisiak2020-05-141-6/+0
|
* Fixed #12990, Refs #27694 -- Added JSONField model field.sage2020-05-081-0/+1
| | | | | | | | | | | 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 #20581 -- Added support for deferrable unique constraints.Ian Foote2020-04-301-0/+1
|
* Simplified imports from django.db and django.contrib.gis.db.Nick Pope2020-02-041-1/+1
|
* Fixed #31183 -- Added a feature flag for "<db> only supports UNBOUNDED ↵Tim Graham2020-01-201-0/+1
| | | | together with PRECEDING and FOLLOWING".
* Fixed #31088 -- Added support for websearch searching in SearchQuery.James Turk2019-12-161-0/+5
|
* Fixed #30943 -- Added BloomIndex to django.contrib.postgres.Nick Pope2019-11-071-0/+1
|
* Refs #30897 -- Added test for SETTINGS option to Queryset.explain() on ↵Nick Pope2019-10-231-0/+4
| | | | PostgreSQL 12+.
* Refs #29444 -- Removed redundant ↵Mariusz Felisiak2019-09-241-1/+0
| | | | | | DatabaseFeatures.can_return_multiple_columns_from_insert. Unnecessary since b31e63879eb5d9717e9f890401f7222e4f00c910.
* Refs #29444 -- Allowed returning multiple fields from INSERT statements on ↵Johannes Hoppe2019-09-091-0/+1
| | | | | | | PostgreSQL. Thanks Florian Apolloner, Tim Graham, Simon Charette, Nick Pope, and Mariusz Felisiak for reviews.
* Fixed #30155 -- Dropped support for PostgreSQL 9.4 and PostGIS 2.1.Tim Graham2019-02-041-9/+1
|
* Refs #29444 -- Renamed DatabaseFeatures.can_return_id* to be generic for ↵Johannes Hoppe2019-01-301-2/+2
| | | | other columns.
* Refs #29722 -- Added introspection of materialized views for Oracle.Mariusz Felisiak2018-11-261-0/+1
| | | Thanks Tim Graham for the review.
* Refs #29722 -- Added introspection of partitions for PostgreSQL.Nick Pope2018-11-191-0/+1
|
* Fixed cached_properties that share a common property.Sergey Fedoseev2018-11-191-7/+9
| | | | | The aliases aren't cached and thus the old usage will be an error after refs #29478.
* Fixed #29934 -- Added sqlparse as a require dependency.Tim Graham2018-11-091-1/+0
|