]> 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:13 +0000 (23:08 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 18 Nov 2005 23:08:13 +0000 (23:08 +0000)
commitdccfa4d3f2f9716632ad946a1582bff3be9e70f0
tree7c2f97848d5cc0a2d1150c9014f76232a6ab6ec5
parent1012a93264b1a5bc51b4bcd622c0149dc47e974b
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