* plpgsql_pre_column_ref parser callback before parsing a ColumnRef */
| 1110 | * plpgsql_pre_column_ref parser callback before parsing a ColumnRef |
| 1111 | */ |
| 1112 | static Node * |
| 1113 | plpgsql_pre_column_ref(ParseState *pstate, ColumnRef *cref) |
| 1114 | { |
| 1115 | PLpgSQL_expr *expr = (PLpgSQL_expr *) pstate->p_ref_hook_state; |
| 1116 | |
| 1117 | if (expr->func->resolve_option == PLPGSQL_RESOLVE_VARIABLE) |
| 1118 | return resolve_column_ref(pstate, expr, cref, false); |
| 1119 | else |
| 1120 | return NULL; |
| 1121 | } |
| 1122 | |
| 1123 | /* |
| 1124 | * plpgsql_post_column_ref parser callback after parsing a ColumnRef |
nothing calls this directly
no test coverage detected