django/tests/postgres_tests
Simon Charette 88bf635c35 [2.2.x] Fixed #30385 -- Restored SearchVector(config) immutability.
Regression in 1a28dc3887.

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 405c836336 from master
2019-04-23 08:32:36 +02:00
..
array_default_migrations Refs #23919 -- Removed encoding preambles and future imports 2017-01-18 09:55:19 +01:00
array_index_migrations Refs #23919 -- Removed encoding preambles and future imports 2017-01-18 09:55:19 +01:00
migrations Fixed #29598 -- Deprecated FloatRangeField in favor of DecimalRangeField. 2018-10-02 19:17:23 -04:00
__init__.py Switched TestCase to SimpleTestCase where possible in Django's tests. 2018-11-27 08:58:44 -05:00
fields.py Fixed #29598 -- Deprecated FloatRangeField in favor of DecimalRangeField. 2018-10-02 19:17:23 -04:00
integration_settings.py [2.2.x] Fixed #30111 -- Fixed AppRegistryNotReady error with django.contrib.postgres in INSTALLED_APPS. 2019-01-22 17:50:00 -05:00
models.py Fixed #29598 -- Deprecated FloatRangeField in favor of DecimalRangeField. 2018-10-02 19:17:23 -04:00
test_aggregates.py [2.2.x] Fixed #30332 -- Fixed crash of ordering by expressions with params in ArrayAgg and StringAgg. 2019-04-06 15:15:40 +02:00
test_apps.py Fixed #29738 -- Allowed serializing psycopg2 range types in migrations. 2019-01-11 19:32:26 -05:00
test_array.py Adjusted code style of a few test data setup methods. 2018-11-27 09:48:22 -05:00
test_bulk_update.py Fixed #23646 -- Added QuerySet.bulk_update() to efficiently update many models. 2018-09-18 16:14:44 -04:00
test_citext.py Fixed #28702 -- Made query lookups for CIText fields use citext. 2017-11-29 10:35:37 -05:00
test_constraints.py [2.2.x] Fixed #30258 -- Adjusted postgres schema value quoting of ranges. 2019-03-18 09:32:09 +01:00
test_functions.py Fixed #28626 -- Dropped support for PostgreSQL 9.3. 2017-09-27 11:00:04 -04:00
test_hstore.py Switched setUp() to setUpTestData() where possible in Django's tests. 2018-11-27 09:35:17 -05:00
test_indexes.py Removed unnecessary skipUnlessDBFeature. 2019-01-13 21:48:40 -05:00
test_integration.py [2.2.x] Refs #30111 -- Fixed test cleanup in postgres_tests/test_integration.py. 2019-01-23 13:17:29 -05:00
test_introspection.py Fixed #29598 -- Deprecated FloatRangeField in favor of DecimalRangeField. 2018-10-02 19:17:23 -04:00
test_json.py [2.2.x] Fixed #30335, #29139 -- Fixed crash when ordering or aggregating over a nested JSONField key transform. 2019-04-18 07:37:48 +02:00
test_ranges.py [2.2.x] Used QuerySet.bulk_create() in a couple of postgres tests. 2019-03-21 18:05:42 -04:00
test_search.py [2.2.x] Fixed #30385 -- Restored SearchVector(config) immutability. 2019-04-23 08:32:36 +02:00
test_signals.py Fixed postgres_tests.test_signals.OIDTests when run in isolation. 2018-10-09 09:23:36 -04:00
test_trigram.py Fixed #24938 -- Added PostgreSQL trigram support. 2016-05-13 12:38:21 -04:00
test_unaccent.py Switched setUp() to setUpTestData() where possible in Django's tests. 2018-11-27 09:35:17 -05:00