git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 15c7293) | patch
Fix ExecuteCallStmt to not scribble on the passed-in parse tree.
Sun, 4 Nov 2018 19:50:55 +0000 (14:50 -0500)
Sun, 4 Nov 2018 19:50:55 +0000 (14:50 -0500)
commit 9b6fb9fbb48dda828dcca47adc418632ddb36202
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
src/backend/commands/functioncmds.c diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /