Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 763129e

Browse files
committed
Add error hint that PL/pgSQL "EXECUTE of SELECT ... INTO" can be
performed by "EXECUTE ... INTO". Jaime Casanova
1 parent a7b2f69 commit 763129e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/pl/plpgsql/src/pl_exec.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $PostgreSQL: pgsql/src/pl/plpgsql/src/pl_exec.c,v 1.257 2010/04/14 23:52:10 tgl Exp $
11+
* $PostgreSQL: pgsql/src/pl/plpgsql/src/pl_exec.c,v 1.258 2010/05/31 20:02:30 momjian Exp $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/
@@ -3033,7 +3033,8 @@ exec_stmt_dynexecute(PLpgSQL_execstate *estate,
30333033
if (*ptr == 'S' || *ptr == 's')
30343034
ereport(ERROR,
30353035
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
3036-
errmsg("EXECUTE of SELECT ... INTO is not implemented")));
3036+
errmsg("EXECUTE of SELECT ... INTO is not implemented"),
3037+
errhint("You might want to use EXECUTE ... INTO instead.")));
30373038
break;
30383039
}
30393040

0 commit comments

Comments
 (0)