• Robert Haas's avatar
    Add notion of a "transform function" that can simplify function calls. · 8f9fe6ed
    Robert Haas authored
    Initially, we use this only to eliminate calls to the varchar()
    function in cases where the length is not being reduced and, therefore,
    the function call is equivalent to a RelabelType operation.  The most
    significant effect of this is that we can avoid a table rewrite when
    changing a varchar(X) column to a varchar(Y) column, where Y > X.
    
    Noah Misch, reviewed by me and Alexey Klyukin
    8f9fe6ed
catversion.h 2.53 KB