Conversation

if you have a particularly complex query in Postgres, is it reasonable to have a test that checks that the query uses an index? thinking someone might modify the query accidentally in a way that doesn't use the index, which is very easy to do
4
12