mirror of
https://github.com/postgres/postgres.git
synced 2025-09-02 04:21:28 +03:00
Refine the use of terminology around bound and unbound cursors and cursor
variables. Remove the confusing term "reference cursor".
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $PostgreSQL: pgsql/src/pl/plpgsql/src/gram.y,v 1.124 2009/05/01 23:57:34 tgl Exp $
|
||||
* $PostgreSQL: pgsql/src/pl/plpgsql/src/gram.y,v 1.125 2009/06/18 10:22:09 petere Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@@ -1585,7 +1585,7 @@ stmt_open : K_OPEN lno cursor_variable
|
||||
(errcode(ERRCODE_SYNTAX_ERROR),
|
||||
errmsg("syntax error at \"%s\"",
|
||||
yytext),
|
||||
errdetail("Expected \"FOR\", to open a reference cursor.")));
|
||||
errdetail("Expected \"FOR\", to open a cursor for an unbound cursor variable.")));
|
||||
}
|
||||
|
||||
tok = yylex();
|
||||
|
Reference in New Issue
Block a user