Add hint suggesting the use of EXECUTE CREATE TABLE ... AS for EXECUTE INTO.

This commit is contained in:
Bruce Momjian 2011-03-15 20:18:35 -04:00
parent b774efa9d5
commit 2b8364de69

View File

@ -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;
}