From: Bruce Momjian Date: Wed, 16 Mar 2011 00:18:35 +0000 (-0400) Subject: Add hint suggesting the use of EXECUTE CREATE TABLE ... AS for EXECUTE INTO. X-Git-Tag: REL9_1_ALPHA5~79 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2b8364de698b0b425e5d8631a63c91387ee098ef;p=postgresql Add hint suggesting the use of EXECUTE CREATE TABLE ... AS for EXECUTE INTO. --- diff --git a/src/pl/plpgsql/src/pl_exec.c b/src/pl/plpgsql/src/pl_exec.c index 689686b782..88cb8eb104 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; }