Add Nullif case for eval_const_expressions_mutator
Hou, Zhijie <houzj.fnst@cn.fujitsu.com>
From: "Hou, Zhijie" <houzj.fnst@cn.fujitsu.com>
To: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2020-11-10T11:31:47Z
Lists: pgsql-hackers
Attachments
- 0001-patch-eval-NULLIF.patch (application/octet-stream) patch 0001
Hi I notice that there are no Nullif case in eval_const_expression. Since Nullif is similar to Opexpr and is easy to implement, I try add this case in eval_const_expressions_mutator. Best regards, houzj
Commits
-
Add support for NullIfExpr in eval_const_expressions
- 9c5f67fd6256 14.0 landed