postgresql_16:7.1.18.1 Description
PostgreSQL 16 > Reference > SQL Commands > ALTER OPERATOR > Description
ALTER OPERATOR changes the definition of an operator.
You must own the operator to use ALTER OPERATOR. To alter the owner, you must be able to SET ROLE to the new owning role, and that role must have CREATE privilege on the operator's schema. (These restrictions enforce that altering the owner doesn't do anything you couldn't do by dropping and recreating the operator. However, a superuser can alter ownership of any operator anyway.)