]> granicus.if.org Git - postgresql/commit
Improve comments for execExpr.c's handling of FieldStore subexpressions.
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 15 Jul 2017 20:57:43 +0000 (16:57 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 15 Jul 2017 20:57:43 +0000 (16:57 -0400)
commitde2af6e001a3d6aeb2a10a802e73af8c7d1d3405
tree6799bc41e809b24b94fc173bcce399ef544e3d1f
parente9b64824a067f8180e2553127467d7522516122c
Improve comments for execExpr.c's handling of FieldStore subexpressions.

Given this code's general eagerness to use subexpressions' output variables
as temporary workspace, it's not exactly clear that it is safe for
FieldStore to tell a newval subexpression that it can write into the same
variable that is being supplied as a potential input.  Document the chain
of assumptions needed for that to be safe.
src/backend/executor/execExpr.c