diff options
author | Peter Eisentraut <peter_e@gmx.net> | 2009-06-18 10:22:09 +0000 |
---|---|---|
committer | Peter Eisentraut <peter_e@gmx.net> | 2009-06-18 10:22:09 +0000 |
commit | 12bc87e09b2388bb13c9e38e3211e87a3e3c63e0 (patch) | |
tree | f0b1ca6800b759aa7c4733f001ce1c72aeb1ad5d /src | |
parent | efa8544fd55e408dc5a8a5a2b7722dc376d7d843 (diff) | |
download | postgresql-12bc87e09b2388bb13c9e38e3211e87a3e3c63e0.tar.gz postgresql-12bc87e09b2388bb13c9e38e3211e87a3e3c63e0.zip |
Refine the use of terminology around bound and unbound cursors and cursor
variables. Remove the confusing term "reference cursor".
Diffstat (limited to 'src')
-rw-r--r-- | src/include/catalog/pg_type.h | 4 | ||||
-rw-r--r-- | src/pl/plpgsql/src/gram.y | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/include/catalog/pg_type.h b/src/include/catalog/pg_type.h index 8392bce0841..d687d74b7bf 100644 --- a/src/include/catalog/pg_type.h +++ b/src/include/catalog/pg_type.h @@ -8,7 +8,7 @@ * Portions Copyright (c) 1996-2009, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $PostgreSQL: pgsql/src/include/catalog/pg_type.h,v 1.205 2009/06/11 14:49:10 momjian Exp $ + * $PostgreSQL: pgsql/src/include/catalog/pg_type.h,v 1.206 2009/06/18 10:22:09 petere Exp $ * * NOTES * the genbki.sh script reads this file and generates .bki @@ -520,7 +520,7 @@ DESCR("numeric(precision, decimal), arbitrary precision number"); #define NUMERICOID 1700 DATA(insert OID = 1790 ( refcursor PGNSP PGUID -1 f b U f t \054 0 0 2201 textin textout textrecv textsend - - - i x f 0 -1 0 _null_ _null_ )); -DESCR("reference cursor (portal name)"); +DESCR("reference to cursor (portal name)"); #define REFCURSOROID 1790 /* OIDS 2200 - 2299 */ diff --git a/src/pl/plpgsql/src/gram.y b/src/pl/plpgsql/src/gram.y index 0fd9a697915..90369ead08f 100644 --- a/src/pl/plpgsql/src/gram.y +++ b/src/pl/plpgsql/src/gram.y @@ -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(); |