Is it possible to overload the existing equality operator in PostgreSQL to give a new definition of equality between two values of type int or real? I think it’s against the rules of overloading but I wonder if there’s a way to do it anyway. I tried this: But when I use the equality operator in a query I don’t