• Tom Lane's avatar
    Implement comparison of generic records (composite types), and invent a · e3b01174
    Tom Lane authored
    pseudo-type record[] to represent arrays of possibly-anonymous composite
    types.  Since composite datums carry their own type identification, no
    extra knowledge is needed at the array level.
    
    The main reason for doing this right now is that it is necessary to support
    the general case of detection of cycles in recursive queries: if you need to
    compare more than one column to detect a cycle, you need to compare a ROW()
    to an array built from ROW()s, at least if you want to do it as the spec
    suggests.  Add some documentation and regression tests concerning the cycle
    detection issue.
    e3b01174
builtins.h 39.5 KB