]> 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:00 +0000 (23:08 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 18 Nov 2005 23:08:00 +0000 (23:08 +0000)
commit8685c472235b7a5bcc786f66ba9adde44e3d670c
tree83d8ef43a21d919000cf20f161907dff2cb4a144
parentb410475672eaf06ba91a03c50c571bd52fd81a32
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