aboutsummaryrefslogtreecommitdiff
path: root/src/backend/parser/parse_oper.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2010-10-25 13:04:37 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2010-10-25 13:04:37 -0400
commitef55e294e66725c412d55b9689328235141d816d (patch)
treecebb704577a9345ecc9f7b3176038777ad04dabe /src/backend/parser/parse_oper.c
parent9350824e708678f6af9657979ba656cf1951b408 (diff)
downloadpostgresql-ef55e294e66725c412d55b9689328235141d816d.tar.gz
postgresql-ef55e294e66725c412d55b9689328235141d816d.zip
Fix inline_set_returning_function() to preserve the invalItems list properly.
This avoids a possible crash when inlining a SRF whose argument list contains a reference to an inline-able user function. The crash is quite reproducible with CLOBBER_FREED_MEMORY enabled, but would be less certain in a production build. Problem introduced in 9.0 by the named-arguments patch, which requires invoking eval_const_expressions() before we can try to inline a SRF. Per report from Brendan Jurd.
Diffstat (limited to 'src/backend/parser/parse_oper.c')
0 files changed, 0 insertions, 0 deletions