Jeff Davis <pgsql(at)j-davis(dot)com> writes:
>>> begin;
>>> drop index abc_dx;
>>> select ....
>>> rollback;
> It may cause catalog bloat though, right?
Not in this particular case; AFAIR this will only result in catalog row
deletions, not updates. So when the deletions roll back, there's no
dead rows to clean up.
regards, tom lane