Skip to content
  • Tom Lane's avatar
    de4cf42a
    Prevent failure when RowExpr or XmlExpr is parse-analyzed twice. · de4cf42a
    Tom Lane authored
    transformExpr() is required to cope with already-transformed expression
    trees, for various ugly-but-not-quite-worth-cleaning-up reasons.  However,
    some of its newer subroutines hadn't gotten the memo.  This accounts for
    bug #7763 from Norbert Buchmuller: transformRowExpr() was overwriting the
    previously determined type of a RowExpr during CREATE TABLE LIKE INCLUDING
    INDEXES.  Additional investigation showed that transformXmlExpr had the
    same kind of problem, but all the other cases seem to be safe.
    
    Andres Freund and Tom Lane
    de4cf42a
    Prevent failure when RowExpr or XmlExpr is parse-analyzed twice.
    Tom Lane authored
    transformExpr() is required to cope with already-transformed expression
    trees, for various ugly-but-not-quite-worth-cleaning-up reasons.  However,
    some of its newer subroutines hadn't gotten the memo.  This accounts for
    bug #7763 from Norbert Buchmuller: transformRowExpr() was overwriting the
    previously determined type of a RowExpr during CREATE TABLE LIKE INCLUDING
    INDEXES.  Additional investigation showed that transformXmlExpr had the
    same kind of problem, but all the other cases seem to be safe.
    
    Andres Freund and Tom Lane
Loading