• Tom Lane's avatar
    Change the row constructor syntax (ROW(...)) so that list elements foo.* · ca0d2197
    Tom Lane authored
    will be expanded to a list of their member fields, rather than creating
    a nested rowtype field as formerly.  (The old behavior is still available
    by omitting '.*'.)  This syntax is not allowed by the SQL spec AFAICS,
    so changing its behavior doesn't violate the spec.  The new behavior is
    substantially more useful since it allows, for example, triggers to check
    for data changes with 'if row(new.*) is distinct from row(old.*)'.  Per
    my recent proposal.
    ca0d2197
parse_target.h 1.37 KB