Commit 2b8364de authored by Bruce Momjian's avatar Bruce Momjian

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

parent b774efa9
...@@ -3249,7 +3249,7 @@ exec_stmt_dynexecute(PLpgSQL_execstate *estate, ...@@ -3249,7 +3249,7 @@ exec_stmt_dynexecute(PLpgSQL_execstate *estate,
ereport(ERROR, ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED), (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."))); errhint("You might want to use EXECUTE ... INTO or EXECUTE CREATE TABLE ... AS instead.")));
break; break;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment