3 ms·
there's more index types than only hashes (which do indeed only support equality) e.g. btrees allow greater than/less than comparisons postgres supports these
by blibble 5y ago
there's more index types than only hashes (which do indeed only support equality)
e.g. btrees allow greater than/less than comparisons
postgres supports these and many more: https://www.postgresql.org/docs/9.5/indexes-types.html https://www.postgresql.org/docs/9.5/indexes-types.html
- jugg1es 5y agoI was using a BTREE index and we were doing greater/less than queries. It was not a hash index.