summaryrefslogtreecommitdiff
path: root/tests/postgres_tests/test_indexes.py
AgeCommit message (Collapse)Author
2025-02-05Fixed #36165 -- Made PostgreSQL's SchemaEditor._delete_index_sql() respect ↵Natalia
the "sql" argument. This is a follow up of bd366ca2aeffa869b7dbc0b0aa01caea75e6dc31. Thank you Daniel Finch for the report.
2024-05-27Fixed #35479 -- Dropped support for PostgreSQL 13 and PostGIS 3.0.Mariusz Felisiak
2024-01-02Fixed #35075 -- Added deduplicate_items parameter to BTreeIndex.Nick Pope
2023-04-06Moved SearchVectorIndexTests.test_search_vector_index to ↵Mariusz Felisiak
postgres_tests.test_indexes.
2022-12-01Refs #33308 -- Ensured type handlers are registered for all PostgreSQL ↵Florian Apolloner
specific tests. Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2022-05-19Fixed #33717 -- Dropped support for PostgreSQL 11.Mariusz Felisiak
2022-04-15Fixed #33607 -- Made PostgresIndex.create_sql() respect the "using" argument.Alexandru Mărășteanu
2022-02-24Fixed #33539 -- Fixed spaces in WITH SQL for indexes on PostgreSQL.Anders Kaseorg
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-10-01Refs #32943 -- Added support for covering SP-GiST indexes on PostgreSQL 14+.Nick Pope
2021-10-01Fixed typo in exception message for GiST indexes and exclusion constraints.Nick Pope
2021-10-01Fixed SpGistIndex tests on PostgreSQL 14+.Nick Pope
2021-06-22Refs #32858, Refs #32392 -- Restored using :: shortcut syntax in Cast() on ↵Mariusz Felisiak
PostgreSQL. This partly reverts commit fdfbc66331292def201c9344e3cd29fbcbcd076a unnecessary since b69b0c3fe871167a0ca01bb439508e335143801f.
2021-01-29Fixed #32392 -- Fixed ExclusionConstraint crash with Cast() in expressions.Tilman Koschnick
2021-01-19Fixed #32357 -- Dropped support for PostgreSQL 9.6 and PostGIS 2.3.Mariusz Felisiak
2021-01-13Fixed #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-06-04Fixed #30913 -- Added support for covering indexes on PostgreSQL 11+.Hannes Ljungberg
2020-05-14Fixed #31579 -- Dropped support for PostgreSQL 9.5 and PostGIS 2.2.Mariusz Felisiak
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-02-04Fixed #30155 -- Dropped support for PostgreSQL 9.4 and PostGIS 2.1.Tim Graham
2019-01-13Removed unnecessary skipUnlessDBFeature.Simon Charette
None of the tests interact with the database.
2018-11-27Switched TestCase to SimpleTestCase where possible in Django's tests.Tim Graham
2018-11-19Fixed cached_properties that share a common property.Sergey Fedoseev
The aliases aren't cached and thus the old usage will be an error after refs #29478.
2018-10-29Fixed #29547 -- Added support for partial indexes.Mads Jensen
Thanks to Ian Foote, Mariusz Felisiak, Simon Charettes, and Markus Holtermann for comments and feedback.
2018-08-02Refs #27869 -- Added PostgreSQL version check for GinIndex support.Nick Pope
2018-08-02Refs #25809, #28990 -- Added PostgreSQL version check for BrinIndex support.Nick Pope
2018-08-02Fixed #29614 -- Added BTreeIndex to django.contrib.postres.Nick Pope
2018-08-02Fixed #28990 -- Added autosummarize parameter to BrinIndex.Nick Pope
2018-08-02Fixed #28887 -- Added SpGistIndex to django.contrib.postgres.Nick Pope
2018-08-02Fixed #26974 -- Added HashIndex to django.contrib.postgres.Nick Pope
Thanks Akshesh Doshi for the initial implementation.
2018-08-02Simplified tests for PostgreSQL indexes.Nick Pope
- Added mixin to make tests more DRY. - Removed redundant equality tests.
2017-09-04Fixed #28126 -- Added GistIndex to contrib.postgres.Mads Jensen
Thanks to Marc Tamlyn for the initial patch.
2017-08-26Refs #27869 -- Omitted field kwargs from GinIndex.deconstruct() if they're None.Mads Jensen
2017-08-26Refs #25809 -- Omitted pages_per_range from BrinIndex.deconstruct() if it's ↵Mads Jensen
None.
2017-06-20Fixed #27869 -- Added fastupdate and gin_pending_list_limit params to GinIndex.Mads Jensen
Thanks Tim Graham and Markus Holtermann for review.
2017-06-17Refs #25809 -- Removed BrinIndex.__repr__().Tim Graham
In retrospect, implementing a __repr__() for index subclasses doesn't seem worthwhile.
2017-03-18Fixed #27935 -- Fixed crash with BrinIndex name > 30 characters.Mads Jensen
2017-02-15Fixed #27135 -- Made index introspection return Index.suffix.Tim Graham
2017-01-16Refs #25809 -- Made a few late review comments for BrinIndex.Mads Jensen
2017-01-15Fixed #25809 -- Added BrinIndex support in django.contrib.postgres.Mads Jensen
Thanks Tim Graham and Markus Holtermann for review.
2016-09-02Fixed #27097 -- Added index type introspection to built-in db backends.Akshesh
2016-08-30Refs #27097, #27098 -- Moved PostgreSQL index type introspection to ↵Akshesh
get_constraints().
2016-08-12Fixed #27030 -- Added contrib.postgres.indexes.GinIndex.Akshesh