Re: eval_const_expresisions and ScalarArrayOpExpr
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Heikki Linnakangas <hlinnaka@iki.fi>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2017-09-12T13:29:36Z
Lists: pgsql-hackers
Attachments
- better-eval-const-expressions-2.patch (text/x-diff) patch
I wrote: > Looking at the patch, it still seems solid, but I remember that one > thing I was concerned about was whether the more generalized code > was any slower. Not sure about a good test case to measure that > though --- const-simplification isn't a large chunk of most workloads. This patch no longer applies cleanly on HEAD, so here's a rebased version (no substantive changes). As before, I think the most useful review task would be to quantify whether it makes planning noticeably slower. regards, tom lane
Commits
-
Teach eval_const_expressions() to handle some more cases.
- 3decd150a2d5 11.0 landed