diff options
author | Bruce Momjian <bruce@momjian.us> | 2010-05-31 20:02:30 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2010-05-31 20:02:30 +0000 |
commit | 763129e04f4d4e00015a274e02841beedfa42fdc (patch) | |
tree | f1a84173a77e40f4db688d443722bc4f666c53ba /src | |
parent | a7b2f694e76859c9a6e61b75c12c73e9e93cfd38 (diff) |
Add error hint that PL/pgSQL "EXECUTE of SELECT ... INTO" can be
performed by "EXECUTE ... INTO".
Jaime Casanova
Diffstat (limited to 'src')
-rw-r--r-- | src/pl/plpgsql/src/pl_exec.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/pl/plpgsql/src/pl_exec.c b/src/pl/plpgsql/src/pl_exec.c index 47808a41915..b8b536cf63c 100644 --- a/src/pl/plpgsql/src/pl_exec.c +++ b/src/pl/plpgsql/src/pl_exec.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $PostgreSQL: pgsql/src/pl/plpgsql/src/pl_exec.c,v 1.257 2010/04/14 23:52:10 tgl Exp $ + * $PostgreSQL: pgsql/src/pl/plpgsql/src/pl_exec.c,v 1.258 2010/05/31 20:02:30 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -3033,7 +3033,8 @@ exec_stmt_dynexecute(PLpgSQL_execstate *estate, if (*ptr == 'S' || *ptr == 's') ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("EXECUTE of SELECT ... INTO is not implemented"))); + errmsg("EXECUTE of SELECT ... INTO is not implemented"), + errhint("You might want to use EXECUTE ... INTO instead."))); break; } |