RefLib

Reference library for AI

Back

postgresql_16:7.1.118.4 Examples

PostgreSQL 16 > Reference > SQL Commands > DROP OPERATOR CLASS > Examples

Remove the B-tree operator class widget_ops: DROP OPERATOR CLASS widget_ops USING btree; This command will not succeed if there are any existing indexes that use the operator class. Add CASCADE to drop such indexes along with the operator class.

Back