Summary:
Create new guc array_optimization_size_limit and use it to replace
MAX_SAOP_ARRAY_SIZE in predtest.c.

Among other things this allows tuning when `col IN (1,2,3)` style
expressions can be matched against partial indexes.

It also fixes the comment:
"XXX is it worth exposing this as a GUC knob?"

Status:
The attached patch applies cleanly to master, builds without error,
and passes tests locally.

Thanks,
James Coleman

Attachment: array_optimization_size_limit_guc-v1.patch
Description: Binary data

Reply via email to