Enhancement
The constraint of the partial index is a simple expression on single columns:
- Only one expression
- The form is
column op const or column is not null
In general, we will not cache the plan if it hits the partial index.
But we try to support limited cases for the not null constraint