dmitry-ryabov(at)mail(dot)ru writes:
> -- BUG! index scan isn't used
> select * from test where test_value_func(value, 'a', 'b') > 60;
> -- index scan used
> select * from test where test_value_func(value, VARIADIC ARRAY['a'::text,
> 'b'::text])>60
I've committed a fix for this. Thanks for the report!
regards, tom lane