Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit763129e

Browse files
committed
Add error hint that PL/pgSQL "EXECUTE of SELECT ... INTO" can be
performed by "EXECUTE ... INTO".Jaime Casanova
1 parenta7b2f69 commit763129e

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)

[8]ページ先頭

©2009-2025 Movatter.jp