How to define an operator alias in PostgreSQL?
问题 Is there an easy way to define an operator alias for the = operator in PostgreSQL? How is that solved for the != and <> operator? Only the <> operator seems to be in pg_operators. Is the != operator hard-coded? This is needed for an application which uses a self-defined operator. In most environments this operator should act like a = , but there are some cases where we define a special behavior by creating an own operator and operator class. But for the normal case our operator should just be