Re: [GENERAL] Custom types and array equality

2006-10-20 Thread Tom Lane
Morgan Kita <[EMAIL PROTECTED]> writes: > This should be a relatively simple question... I just made a custom type > in C, which I will use to build an array in one of my tables. ... > However, should array_eq be called for unique constraints? What am I > missing here to get this system working?

[GENERAL] Custom types and array equality

2006-10-20 Thread Morgan Kita
Hi, This should be a relatively simple question... I just made a custom type in C, which I will use to build an array in one of my tables. I defined an equality function in C, and declared an operator = on my custom type that calls my equality operator. Along the lines of: CREATE OPERATOR = (