I have a bunch of PostgreSQL (v14 or 15) indexes over a few dozen tables that use B-Trees for their access method. We want to change them to hashes as we don't do inequality operations on them, and hash is about 30% faster on average for equality operations from the data I've seen.
I see in the PostgreSQL docs that indexes can be altered and reindexed, but there doesn't seem to be a method for changing the access method. Is that possible and I'm just missing on how to perform it? Or do I need to drop and recreate the indexes with the appropriate indexing method?
Thanks.