On 01/29/18 03:32, Antonin Houska wrote: > Robert Haas <robertmh...@gmail.com> wrote:
>>> only take place if we had a special equality operator which distinguishes >>> the >>> *binary* values (I don't know yet how to store this operator the catalog --- ... >> We don't have an operator that tests for binary equality, but it's >> certainly testable from C; see datumIsEqual. Disclaimer: I haven't been following the whole thread closely. But could there be some way to exploit the composite-type *= operator? https://www.postgresql.org/docs/current/static/functions-comparisons.html#COMPOSITE-TYPE-COMPARISON -Chap