pgsql: Fix estimate_expression_value to constant-fold SQLValueFunction - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Fix estimate_expression_value to constant-fold SQLValueFunction
Date
Msg-id E1cBVyp-0006j4-M7@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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(+)


pgsql-committers by date:

Previous
From: Alvaro Herrera
Date:
Subject: pgsql: Fix get_relation_info name typo'ed in a comment
Next
From: Stephen Frost
Date:
Subject: pgsql: Correct psql documentation example