I have got one index on a table that I would like to temporarily disable, I can\'t find any documentation suggesting that it\'s possible, though.
Reason: I\'ve got an in
begin;
drop index foo_ndx;
explain analyze select * from foo;
rollback;
I don't think there is a way to disable just one, though you can do this in a transaction to make recovering from it dead simple. You can also disable indexscan to disable all indices.
Also, make sure you are doing explain analyze
on your queries.