]> granicus.if.org Git - postgresql/commit
Fix performance issue in exprTypmod(): for a COALESCE expression, it
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 18 Nov 2005 23:08:43 +0000 (23:08 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 18 Nov 2005 23:08:43 +0000 (23:08 +0000)
commite03c5e2d5a32bb01e4cb8eaee67d3b05819dc97b
treedc4e17a9ab0ecb8debfbcf4e39643ef66e793077
parent48fabd257fef6f9798cef8b57bb300ab368b8055
Fix performance issue in exprTypmod(): for a COALESCE expression, it
recursed twice on its first argument, leading to exponential time spent
on a deep nest of COALESCEs ... such as a deeply nested FULL JOIN would
produce.  Per report from Matt Carter.
src/backend/parser/parse_expr.c