• Tom Lane's avatar
    Preserve column names in the execution-time tupledesc for a RowExpr. · 398f70ec
    Tom Lane authored
    The hstore and json datatypes both have record-conversion functions that
    pay attention to column names in the composite values they're handed.
    We used to not worry about inserting correct field names into tuple
    descriptors generated at runtime, but given these examples it seems
    useful to do so.  Observe the nicer-looking results in the regression
    tests whose results changed.
    
    catversion bump because there is a subtle change in requirements for stored
    rule parsetrees: RowExprs from ROW() constructs now have to include field
    names.
    
    Andrew Dunstan and Tom Lane
    398f70ec
parse_expr.c 65.4 KB