• Alvaro Herrera's avatar
    Fix possible NULL dereference in ExecAlterObjectDependsStmt · bd905a0d
    Alvaro Herrera authored
    I used the wrong variable here.  Doesn't make a difference today because
    the only plausible caller passes a non-NULL variable, but someday it
    will be wrong, and even today's correctness is subtle: the caller that
    does pass a NULL is never invoked because of object type constraints.
    Surely not a condition to rely on.
    
    Noted by Coverity
    bd905a0d
alter.c 26.5 KB