Hi,
Please find attached a patch to take code-coverage of ALTER OPERATORFAMILY.. ADD / DROP (src/backend/commands/opclasscmds.c) from 50% to 87%.
Any and all feedback is welcome.--Robins Tharakan