• Tom Lane's avatar
    Adjust collation determination rules as per discussion. · a19002d4
    Tom Lane authored
    Remove crude hack that tried to propagate collation through a
    function-returning-record, ie, from the function's arguments to individual
    fields selected from its result record.  That is just plain inconsistent,
    because the function result is composite and cannot have a collation;
    and there's no hope of making this kind of action-at-a-distance work
    consistently.  Adjust regression test cases that expected this to happen.
    
    Meanwhile, the behavior of casting to a domain with a declared collation
    stays the same as it was, since that seemed to be the consensus.
    a19002d4
parse_target.c 46.1 KB