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 | 9b6fb9fbb48dda828dcca47adc418632ddb36202 (patch) | |
tree | 2d9a3c02251e927681327102a5b0a38e6d45444d /src/backend/commands/tablecmds.c | |
parent | 15c7293477a6de03234f58898da7fb29f3ab5b94 (diff) | |
download | postgresql-9b6fb9fbb48dda828dcca47adc418632ddb36202.tar.gz postgresql-9b6fb9fbb48dda828dcca47adc418632ddb36202.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/tablecmds.c')
0 files changed, 0 insertions, 0 deletions