[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 = (

[GENERAL] Foreign keys, arrays, and uniqueness

2006-10-02 Thread Morgan Kita
Let me start by saying I understand that postgresql does not support the following: composite data types with individual components acting as foreign keys, arrays of composite data types, and arrays with elements acting as foreign keys. I will layout my example using them for clarity even though