Why is this (postgres) composite gin(scalar, scalar, array gin__int_ops) index not using the array criteria?
It turns out the index gets used with the following array operator:
q.dataset_ids @&gt; ARRAY[195]