"Robert B. Easter" <reaster@comptechnews.com> writes:
> [ C function to nice down the backend ]
This sort of thing has been suggested before, but I've always wondered
whether it isn't counterproductive. The trouble is priority inversion:
any time the niced backend is holding a lock on some shared
datastructure, it will be blocking the allegedly-higher-priority other
backends.
regards, tom lane