Compare collation keys generated by collate_key with similar semantics
as strcmp
.
See also collate_cmp_func if you need a version of this function that works as a CompareDataFunc.
The default implementation in Analyzer just uses strcmp
.
this |
The analyzer to use when comparing collation keys |
key1 |
The first collation key to compare |
key2 |
The second collation key to compare |
-1, 0 or 1, if |