Convert MAX_SAOP_ARRAY_SIZE to new guc - Mailing list pgsql-hackers

From James Coleman
Subject Convert MAX_SAOP_ARRAY_SIZE to new guc
Date
Msg-id CAAaqYe91hiaq08fKGbvKj97Hf2zUUWcU=iVW0Rdg8_2qFVB26A@mail.gmail.com
Whole thread Raw
Responses Re: Convert MAX_SAOP_ARRAY_SIZE to new guc
List pgsql-hackers
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

pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: BUG #15212: Default values in partition tables don't work asexpected and allow NOT NULL violation
Next
From: Jürgen Strobel
Date:
Subject: Re: BUG #15212: Default values in partition tables don't work asexpected and allow NOT NULL violation