aboutsummaryrefslogtreecommitdiff
path: root/src/backend/parser/analyze.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2003-04-29 03:21:30 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2003-04-29 03:21:30 +0000
commit4a5f38c4e624fbdc8bb4511394c45dc2c7f784ec (patch)
tree715c7e2440e4616e6084b6348453ad379733e9c9 /src/backend/parser/analyze.c
parent6a17d226b535c1fc7db8a10b5f2b482e852af928 (diff)
downloadpostgresql-4a5f38c4e624fbdc8bb4511394c45dc2c7f784ec.tar.gz
postgresql-4a5f38c4e624fbdc8bb4511394c45dc2c7f784ec.zip
Code review for holdable-cursors patch. Fix error recovery, memory
context sloppiness, some other things. Includes Neil's mopup patch of 22-Apr.
Diffstat (limited to 'src/backend/parser/analyze.c')
-rw-r--r--src/backend/parser/analyze.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/parser/analyze.c b/src/backend/parser/analyze.c
index 64cd5603acd..5dc3d82bea8 100644
--- a/src/backend/parser/analyze.c
+++ b/src/backend/parser/analyze.c
@@ -6,7 +6,7 @@
* Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $Header: /cvsroot/pgsql/src/backend/parser/analyze.c,v 1.266 2003/03/27 16:51:28 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/parser/analyze.c,v 1.267 2003/04/29 03:21:29 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@@ -2299,7 +2299,7 @@ transformDeclareCursorStmt(ParseState *pstate, DeclareCursorStmt *stmt)
*/
if ((stmt->options & CURSOR_OPT_SCROLL) &&
(stmt->options & CURSOR_OPT_NO_SCROLL))
- elog(ERROR, "Both SCROLL and NO SCROLL cannot be specified.");
+ elog(ERROR, "Cannot specify both SCROLL and NO SCROLL");
stmt->query = (Node *) transformStmt(pstate, stmt->query,
&extras_before, &extras_after);