"scott.marlowe" <scott(dot)marlowe(at)ihs(dot)com> writes:
> any chance of having some kind of max_total_sort_mem setting to keep
> machines out of swap storms, or would that be a nightmare to implement?
I don't see any reasonable way to do that.
regards, tom lane