pgsql: Fix estimate_expression_value to constant-fold SQLValueFunction
pgsql: Fix estimate_expression_value to constant-fold SQLValueFunction
От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
Fix estimate_expression_value to constant-fold SQLValueFunction nodes. Oversight in my commit 0bb51aa96. Noted while poking at a recent bug report --- HEAD's estimates for a query using CURRENT_DATE were unexpectedly much worse than 9.6's. Branch ------ master Details ------- http://git.postgresql.org/pg/commitdiff/4e20511d5b8ba427730e09be45f9458f667f9c1e Modified Files -------------- src/backend/optimizer/util/clauses.c | 17 +++++++++++++++++ 1 file changed, 17 insertions(+)