We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 330b112 commit 1c2d2dbCopy full SHA for 1c2d2db
src/pl/plpgsql/src/pl_exec.c
@@ -3,7 +3,7 @@
3
* procedural language
4
*
5
* IDENTIFICATION
6
- * $Header: /cvsroot/pgsql/src/pl/plpgsql/src/pl_exec.c,v 1.50 2001/11/08 20:37:52 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/pl/plpgsql/src/pl_exec.c,v 1.51 2001/11/13 02:05:27 tgl Exp $
7
8
* This software is copyrighted by Jan Wieck - Hamburg.
9
@@ -2045,7 +2045,8 @@ exec_stmt_execsql(PLpgSQL_execstate * estate,
2045
break;
2046
2047
case SPI_OK_SELECT:
2048
- elog(ERROR, "unexpected SELECT query in exec_stmt_execsql()");
+ elog(ERROR, "SELECT query has no destination for result data."
2049
+ "\n\tIf you want to discard the results, use PERFORM instead.");
2050
2051
default:
2052
elog(ERROR, "error executing query \"%s\"",
0 commit comments