• Simon Charette's avatar
    Fixed #30385 -- Restored SearchVector(config) immutability. · 405c8363
    Simon Charette yazdı
    Regression in 1a28dc38.
    
    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.
    405c8363
Adı
Son kayıt (commit)
Son güncelleme
..
array_default_migrations Loading commit data...
array_index_migrations Loading commit data...
migrations Loading commit data...
__init__.py Loading commit data...
fields.py Loading commit data...
integration_settings.py Loading commit data...
models.py Loading commit data...
test_aggregates.py Loading commit data...
test_apps.py Loading commit data...
test_array.py Loading commit data...
test_bulk_update.py Loading commit data...
test_citext.py Loading commit data...
test_constraints.py Loading commit data...
test_functions.py Loading commit data...
test_hstore.py Loading commit data...
test_indexes.py Loading commit data...
test_integration.py Loading commit data...
test_introspection.py Loading commit data...
test_json.py Loading commit data...
test_ranges.py Loading commit data...
test_search.py Loading commit data...
test_signals.py Loading commit data...
test_trigram.py Loading commit data...
test_unaccent.py Loading commit data...