• Tom Lane's avatar
    Fix plpgsql named-cursor-parameter feature for variable name conflicts. · 05dbd4a7
    Tom Lane authored
    The parser got confused if a cursor parameter had the same name as
    a plpgsql variable.  Reported and diagnosed by Yeb Havinga, though
    this isn't exactly his proposed fix.
    
    Also, some mostly-but-not-entirely-cosmetic adjustments to the original
    named-cursor-parameter patch, for code readability and better error
    diagnostics.
    05dbd4a7
gram.y 93.5 KB