Hello, I've added managed triggers for SearchVectorField() which will automatically update the column in postgres every time an insert or update is performed on a model containing this field (by default to_tsvector() is only called if the fields to be indexed are actually changed).
If you are using SearchVectorField() without arguments then it is completely backwards compatible with current version. A trigger is created only if you supply a list of weighted columns as an argument. Please take a look at my pull request and let me know if there are any issues with my implementation: https://github.com/django/django/pull/7678 Thank you, Lex -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-developers+unsubscr...@googlegroups.com. To post to this group, send email to django-developers@googlegroups.com. Visit this group at https://groups.google.com/group/django-developers. To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/CAHQ_wW25m-%3DCPER2SG9kz%3DBgVno15Zv1SyL4aKh88peW0z3%2Bhw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.