diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2018-11-04 14:50:55 -0500 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2018-11-04 14:50:55 -0500 |
commit | d358da81414abc57ef44dfd45dfedc3d443e5bd5 (patch) | |
tree | 4886e80b0af85a58b72f9245de3ddd8a900b5b97 /src/backend/commands/cluster.c | |
parent | 4b0c3712c530e3be92682099f56dbe0b08d802c2 (diff) | |
download | postgresql-d358da81414abc57ef44dfd45dfedc3d443e5bd5.tar.gz postgresql-d358da81414abc57ef44dfd45dfedc3d443e5bd5.zip |
Fix ExecuteCallStmt to not scribble on the passed-in parse tree.
Modifying the parse tree at execution time is, or at least ought to be,
verboten. It seems quite difficult to actually cause a crash this way
in v11 (although you can exhibit it pretty easily in HEAD by messing
with plan_cache_mode). Nonetheless, it's risky, so fix and back-patch.
Discussion: https://postgr.es/m/13789.1541359611@sss.pgh.pa.us
Diffstat (limited to 'src/backend/commands/cluster.c')
0 files changed, 0 insertions, 0 deletions