-
- Downloads
Fix WHERE CURRENT OF to work as designed within plpgsql. The argument
can be the name of a plpgsql cursor variable, which formerly was converted to $N before the core parser saw it, but that's no longer the case. Deal with plain name references to plpgsql variables, and add a regression test case that exposes the failure.
Showing
- src/backend/executor/execCurrent.c 5 additions, 5 deletionssrc/backend/executor/execCurrent.c
- src/backend/parser/gram.y 1 addition, 9 deletionssrc/backend/parser/gram.y
- src/backend/parser/parse_expr.c 35 additions, 25 deletionssrc/backend/parser/parse_expr.c
- src/test/regress/expected/plpgsql.out 46 additions, 0 deletionssrc/test/regress/expected/plpgsql.out
- src/test/regress/sql/plpgsql.sql 20 additions, 0 deletionssrc/test/regress/sql/plpgsql.sql
Loading
Please register or sign in to comment