Just in case, there is a btree_gin extension which can be used in queries combining gin-indexable column and btree-indexable column. It doesn’t solve top-K ordering problem though.
62 karma · joined July 12, 2021
And what was the rationale behind mocking a database in the first place, speed? Disable synchronous wal writes, or run your postgres instance in ram. Your test suite execution speed will skyrocket.
If I dont have lots of range queries, why not then? Only because of bloating (I think fragmentation is a more precise term here)?