Simon Riggs <simon@2ndQuadrant.com> writes:
> maintenance_work_mem is already used for 3 separate operations that bear
> little resemblance to each other. If it's appropriate for all of those
> then its appropriate for this usage also.
No, it isn't.
The fundamental point here is that this isn't a memory allocation
parameter; it's a switchover threshold between two different behaviors.
regards, tom lane