• T
    Implement parser hooks for processing ColumnRef and ParamRef nodes, as per my · fb5d0580
    Tom Lane 提交于
    recent proposal.  As proof of concept, remove knowledge of Params from the
    core parser, arranging for them to be handled entirely by parser hook
    functions.  It turns out we need an additional hook for that --- I had
    forgotten about the code that handles inferring a parameter's type from
    context.
    
    This is a preliminary step towards letting plpgsql handle its variables
    through parser hooks.  Additional work remains to be done to expose the
    facility through SPI, but I think this is all the changes needed in the core
    parser.
    fb5d0580
parse_expr.c 63.7 KB