On Fri, Oct 18, 2019, 11:43 Amit Kapila <amit.kapil...@gmail.com> wrote:
> On Thu, Oct 17, 2019 at 3:10 PM Tom Lane <t...@sss.pgh.pa.us> wrote: > > > > Amit Kapila <amit.kapil...@gmail.com> writes: > > > Another idea could be each index AM tell whether it uses > > > maintainence_work_mem or not and based on that we can do the > > > computation (divide the maintainence_work_mem by the number of such > > > indexes during parallel vacuum). > > > > FWIW, that seems like a perfectly reasonable API addition to me. > > > > Thanks, Sawada-san, if you also think this API makes sense, then we > can try to write a patch and see how it turns out? > > Yeah agreed. I can write this patch next week and will share it. Regards,