delete from pg_operator where oid = нужный oid;
И Вы ещё удивляетесь?!
Никогда ничего не удаляйте руками из системных каталогов (если не 100% уверены в том, что делаете)!
Цитируя
https://www.postgresql.org/docs/current/catalogs.html :
PostgreSQL's system catalogs are regular tables. You can drop and recreate the tables, add columns, insert and update values, and
severely mess up your system that way. Normally, one
should not change the system catalogs by hand, there are normally SQL commands to do that.
В данном случае SQL command to do that — это DROP OPERATOR.
И у меня (в v12.3, правда) всё работает как надо при использовании DROP OPERATOR с Вашим кодом.
Конкретно — вот так, если что:
DROP OPERATOR = (boolean, integer);