aboutsummaryrefslogtreecommitdiff
path: root/src/backend/commands/tablecmds.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2018-11-04 14:50:55 -0500
committerTom Lane <tgl@sss.pgh.pa.us>2018-11-04 14:50:55 -0500
commit9b6fb9fbb48dda828dcca47adc418632ddb36202 (patch)
tree2d9a3c02251e927681327102a5b0a38e6d45444d /src/backend/commands/tablecmds.c
parent15c7293477a6de03234f58898da7fb29f3ab5b94 (diff)
downloadpostgresql-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