SELECT '{}'::json = '{}'::json
Will fail with error.
Is JSON the only data type that postgres will fail to compare on equality out of the box? If not then how to work out which data types cannot be compared (against the same data type) on equality?
I am only interested in getting a list of data types that will fail an equality comparison.