postgres.git / summary / log / commit / refs
commit 2b8364de698b0b425e5d8631a63c91387ee098ef
Author: Bruce Momjian <bruce@momjian.us>
Date: Wed Mar 16 00:18:35 2011 +0000
Add hint suggesting the use of EXECUTE CREATE TABLE ... AS for EXECUTE INTO.
src/pl/plpgsql/src/pl_exec.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/pl/plpgsql/src/pl_exec.c b/src/pl/plpgsql/src/pl_exec.c
index 689686b7825..88cb8eb1045 100644
--- a/src/pl/plpgsql/src/pl_exec.c
+++ b/src/pl/plpgsql/src/pl_exec.c
@@ -3249,7 +3249,7 @@ exec_stmt_dynexecute(PLpgSQL_execstate *estate,
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
errmsg("EXECUTE of SELECT ... INTO is not implemented"),
- errhint("You might want to use EXECUTE ... INTO instead.")));
+ errhint("You might want to use EXECUTE ... INTO or EXECUTE CREATE TABLE ... AS instead.")));
break;
}
[parent: b774efa9d57a]