mirror of
https://github.com/postgres/postgres.git
synced 2025-07-30 11:03:19 +03:00
Add hint suggesting the use of EXECUTE CREATE TABLE ... AS for EXECUTE INTO.
This commit is contained in:
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user