| From: | James Coleman <jtc331(at)gmail(dot)com> |
|---|---|
| To: | pgsql-hackers <pgsql-hackers(at)postgresql(dot)org> |
| Subject: | Convert MAX_SAOP_ARRAY_SIZE to new guc |
| Date: | 2018-11-09 21:32:23 |
| Message-ID: | CAAaqYe91hiaq08fKGbvKj97Hf2zUUWcU=iVW0Rdg8_2qFVB26A@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | 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 | Content-Type | Size |
|---|---|---|
| array_optimization_size_limit_guc-v1.patch | application/octet-stream | 7.2 KB |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Jürgen Strobel | 2018-11-09 21:34:37 | Re: BUG #15212: Default values in partition tables don't work as expected and allow NOT NULL violation |
| Previous Message | Alvaro Herrera | 2018-11-09 21:11:06 | Re: BUG #15212: Default values in partition tables don't work as expected and allow NOT NULL violation |