On 20.11.24 08:29, jian he wrote:
in match_pattern_prefix maybe change if (expr_coll && !get_collation_isdeterministic(expr_coll)) return NIL; to if (OidIsValid(expr_coll) && !get_collation_isdeterministic(expr_coll)) return NIL;
I left it like it was, because this was existing code that I'm just moving around.
other than that, I didn't find any issue.
I have committed it, thanks.