/rtmp/execute.diff

text/x-diff

Filename: /rtmp/execute.diff
Type: text/x-diff
Part: 0
Message: Re: plpgsql execute vs. SELECT ... INTO

Patch

Same data as JSON: GET /api/v1/attachments/:id/patch the parsed metadata as JSON — format, series position, per-file stats; never the diff bytes. API reference →
Format: unified
File+
src/pl/plpgsql/src/pl_exec.c 0 0
diff --git a/src/pl/plpgsql/src/pl_exec.c b/src/pl/plpgsql/src/pl_exec.c
new file mode 100644
index 689686b..88cb8eb
*** a/src/pl/plpgsql/src/pl_exec.c
--- b/src/pl/plpgsql/src/pl_exec.c
*************** exec_stmt_dynexecute(PLpgSQL_execstate *
*** 3249,3255 ****
  					ereport(ERROR,
  							(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
  					 errmsg("EXECUTE of SELECT ... INTO is not implemented"),
! 							 errhint("You might want to use EXECUTE ... INTO instead.")));
  				break;
  			}
  
--- 3249,3255 ----
  					ereport(ERROR,
  							(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
  					 errmsg("EXECUTE of SELECT ... INTO is not implemented"),
! 							 errhint("You might want to use EXECUTE ... INTO or EXECUTE CREATE TABLE ... AS instead.")));
  				break;
  			}