Hi Zsolt,
> I think c5 should keep failing, but most likely with a proper ereport?
Thanks for looking. On master alone a child can override an inherited
virtual expression, so e5 works there. v1 lets c5 through to match.
With the patch in [1] both should fail, so I'll add that check to the
LIKE path in whichever patch goes in second.
[1]
https://postgr.es/m/CAGRkXqSL2fnh-EWSHQ878+LdpG8z9Y8+YQ1UkSG_vftr1BSvzQ@mail.gmail.com
Thanks,
Shihao