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

pull/1/head
Bruce Momjian 15 years ago
parent b774efa9d5
commit 2b8364de69
  1. 2
      src/pl/plpgsql/src/pl_exec.c

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

Loading…
Cancel
Save