diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2007-10-25 13:48:57 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2007-10-25 13:48:57 +0000 |
commit | fcc20bd4ba98b82d30968f960ad65ea5b837cf3a (patch) | |
tree | f1c8bf2585b1ae4b341d42272ef454ea3d0e356f /src/backend/executor/spi.c | |
parent | 0e3ddc8dd58be5e455d633fea752fd2ed2477aab (diff) | |
download | postgresql-fcc20bd4ba98b82d30968f960ad65ea5b837cf3a.tar.gz postgresql-fcc20bd4ba98b82d30968f960ad65ea5b837cf3a.zip |
Tweak new error messages to match the actual syntax of DECLARE CURSOR.
(Last night I copied-and-pasted from the WITH HOLD case, but that's
wrong because of the bizarrely irregular syntax specified by the standard.)
Diffstat (limited to 'src/backend/executor/spi.c')
-rw-r--r-- | src/backend/executor/spi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/executor/spi.c b/src/backend/executor/spi.c index 6d59401d0fb..0ea017906eb 100644 --- a/src/backend/executor/spi.c +++ b/src/backend/executor/spi.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $PostgreSQL: pgsql/src/backend/executor/spi.c,v 1.182 2007/10/24 23:27:08 tgl Exp $ + * $PostgreSQL: pgsql/src/backend/executor/spi.c,v 1.183 2007/10/25 13:48:57 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -994,7 +994,7 @@ SPI_cursor_open(const char *name, SPIPlanPtr plan, ((PlannedStmt *) linitial(stmt_list))->rowMarks != NIL) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("DECLARE CURSOR SCROLL ... FOR UPDATE/SHARE is not supported"), + errmsg("DECLARE SCROLL CURSOR ... FOR UPDATE/SHARE is not supported"), errdetail("Scrollable cursors must be READ ONLY."))); } |