Andreas Kretschmer <akretschmer@xxxxxxxxxxxxx> writes: > You can retrieve the PID and the username of running querys in > pg_stat_activity. Perhaps, with this knowledge and an untrusted language > you can run system-commands such renice to change the priority of > running postmaster-processes. See "priority inversion" in the archives. regards, tom lane