Open joprice opened 2 years ago
Hi. https://github.com/pawurb/ruby-pg-extras Ruby version of this library has support for query arguments, that would allow changing the limit. I'm no longer actively developing this version, but if you're interested in submitting a PR with this feature I'll be glad to release it.
After making use of unused_indexes, I started wondering about which indexes were being used, and to what extent. There are some other queries for index usage relative to a table, but it might be nice to have a similar query to unused_indexes, but without the limit of 50.