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
You can poke the system catalogue to disable an index:
update pg_index set indisvalid = false where indexrelid = 'test_pkey'::regclass
This means that the index won't be used for queries but will still be updated. It's one of the flags used for concurrent index building. Note that I've only done a quick test to see if the index still seems to be updated, caveat emptor.