summaryrefslogtreecommitdiff
path: root/tests/postgres_tests
AgeCommit message (Collapse)Author
2019-07-10[2.2.x] Fixed #30621 -- Fixed crash of __contains lookup for ↵Mariusz Felisiak
Date/DateTimeRangeField when the right hand side is the same type. Thanks Tilman Koschnick for the report and initial patch. Thanks Carlton Gibson for the review. Regression in 6b048b364ca1e0e56a0d3815bf2be33ac9998355. Backport of 7991111af12056ec9a856f35935d273526338c1f from master
2019-05-28[2.2.x] Fixed #30315 -- Fixed crash of ArrayAgg and StringAgg with ordering ↵Caio Ariede
when used in Subquery. Backport of a3f91891d2c7f4bdc33f48ae70820ef6f36da26e from master.
2019-05-20[2.2.x] Fixed #30488 -- Removed redundant Coalesce call in SQL generated by ↵Thomasina Lee
SearchVector. Regression in 405c8363362063542e9e79beac53c8437d389520. Backport of c38e7a79f4354ee831f92deb7a658fc0387e3bec from master
2019-04-23[2.2.x] Fixed #30385 -- Restored SearchVector(config) immutability.Simon Charette
Regression in 1a28dc3887e8d66d5e3ff08cf7fb0a6212b873e5. The usage of CONCAT to allow SearchVector to deal with non-text fields made the generated expression non-IMMUTABLE which prevents a functional index to be created for it. Using a combination of COALESCE and ::text makes sure the expression preserves its immutability. Refs #29582. Thanks Andrew Brown for the report, Nick Pope for the review. Backport of 405c8363362063542e9e79beac53c8437d389520 from master
2019-04-18[2.2.x] Fixed #30335, #29139 -- Fixed crash when ordering or aggregating ↵can
over a nested JSONField key transform. Backport of d87bd29c4f8dfcdf3f4a4eb8340e6770a2416fe3 from master.
2019-04-06[2.2.x] Fixed #30332 -- Fixed crash of ordering by expressions with params ↵Simone Pellizzari
in ArrayAgg and StringAgg. Backport of d0315584b5ed6a47b486e65f6c88f80189f337ef from master.
2019-03-21[2.2.x] Used QuerySet.bulk_create() in a couple of postgres tests.oliver
Follow up to 0ce2ad9ca4623cfd6dc2515430c0ae8a1717a607. Backport of 2aaabe2004e1953eb7d7057edcf2fabd37f7394d from master.
2019-03-18[2.2.x] Fixed #30258 -- Adjusted postgres schema value quoting of ranges.Simon Charette
Thanks Tilman Koschnick for the report and patch. Backport of 386d89ab55e620440d30590a8a104fe6d5eef830 from master
2019-01-23[2.2.x] Refs #30111 -- Fixed test cleanup in postgres_tests/test_integration.py.Tim Graham
Fixed "ERROR: Step ‘Publish JUnit test result report’ failed: No test report files were found. Configuration error?" on Jenkins because report files were put in tests/postgres_tests. Backport of 2de7eb6f4d5a20cec98e4d2eefc276ee38d149ad from master.
2019-01-22[2.2.x] Fixed #30111 -- Fixed AppRegistryNotReady error with ↵Nasir Hussain
django.contrib.postgres in INSTALLED_APPS. Regression in e192223ed996ed30fe83787efdfa7f2be6b1a2ee. Backport of 2804b8d2153505ec49b191db2168302dfb92c3af from master.
2019-01-13Removed unnecessary skipUnlessDBFeature.Simon Charette
None of the tests interact with the database.
2019-01-11Fixed #29738 -- Allowed serializing psycopg2 range types in migrations.can
2018-11-30Fixed #29997 -- Allowed combining SearchQuerys with different configs.Jaap Roes
Seems to be a needless restriction in 978a00e39fee25cfa99065285b0de88366710fad.
2018-11-29Used assertCountEqual() in contrib.postgres.search tests.Tim Graham
2018-11-27Adjusted code style of a few test data setup methods.Simon Charette
Thanks Mariusz for suggesting it.
2018-11-27Switched setUp() to setUpTestData() where possible in Django's tests.Simon Charette
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-11-12Fixed #29945 -- Moved contrib.postgres uninstallation logic to the app config.Simon Charette
2018-11-01Fixed #29886 -- Fixed unaccent lookup when PostgreSQL's ↵Jayantha Gumballi
standard_conforming_strings option is off. Thanks Tom McClure for the patch.
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-10-09Fixed postgres_tests.test_signals.OIDTests when run in isolation.Jon Dufresne
2018-10-02Fixed #29598 -- Deprecated FloatRangeField in favor of DecimalRangeField.Stefano Chiodino
2018-09-18Fixed #23646 -- Added QuerySet.bulk_update() to efficiently update many models.Tom Forbes
2018-09-17Fixed #27899 -- Added support for phrase/raw searching in SearchQuery.Claude Paroz
Thanks Tim Graham, Nick Pope, and Claude Paroz for contribution and review.
2018-08-15Fixed #29644 -- Made SearchQuery.__str__() reflect negation and grouping.Tom Forbes
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.
2018-07-27Fixed #28291, #24726 -- Fixed ArrayField with JSONField and RangeFields.vinay karanam
2018-07-21Fixed #29582 -- Fixed a crash when using SearchVector with non text-fields.Simon Charette
The PostgreSQL concat() function handles nulls and non-text values better than the || operator.
2018-06-28Fixed #26067 -- Added ordering support to ArrayAgg and StringAgg.Floris den Hengst
2018-04-22Refs #29131 -- Made ArrayField error messages index from 1 instead of 0.Hasan Ramezani
2018-04-10Fixed #29307 -- Fixed inspectdb import paths for django.contrib.postgres fields.Alasdair Nicol
Thanks erindy for the report.
2018-04-07Fixed #28950 -- Fixed ArrayField.has_changed() for empty values.Vinay Karanam
2018-04-07Added tests for ArrayField.has_changed().Vinay Karanam
2018-04-04Fixed #25718 -- Made a JSONField lookup value of None match keys that have a ↵Dmitry Dygalo
null value.
2018-04-03Refs #28577 -- Added check for HStoreField to prevent mutable default.Tim Graham
2018-03-21Refs #29147 --- Added JSONField serialization tests.Tim Graham
2018-03-20Fixed #29227 -- Allowed BooleanField to be null=True.Tim Graham
Thanks Lynn Cyrin for contributing to the patch, and Nick Pope for review.
2018-02-10Fixed #24747 -- Allowed transforms in QuerySet.order_by() and distinct(*fields).Matthew Wilkes
2018-01-21Fixed #29038 -- Removed closing slash from HTML void tags.Jon Dufresne
2018-01-18Refs #23668 -- Removed passing default argument of current TZ to ↵Jon Dufresne
make_aware()/naive.
2017-12-30Fixed #28908 -- Allowed ArrayField lookups on ArrayAgg annotations.Sergey Fedoseev
2017-11-29Fixed #28702 -- Made query lookups for CIText fields use citext.Mads Jensen
2017-11-15Fixed test failures due to ordering differences on PostgreSQL 10.Tim Graham