Bottom line, I am skeptical if this will really achieve my goal - to
have the functions run with low priority.
Is there a way to tell PostgreSQL to change the nice value of a
particular connection? I guess I could use renice but that means a lot
of shell scripting to determine what PID to change - I am not a shell
script expert and would rather not pursue that option.
You can't really do what you want, and I am skeptical that it would be a
good idea anyway. Honestly it sounds like you have an implementation
problem.
Joshua D. Drake
--
=== The PostgreSQL Company: Command Prompt, Inc. ===
Sales/Support: +1.503.667.4564 || 24x7/Emergency: +1.800.492.2240
Providing the most comprehensive PostgreSQL solutions since 1997
http://www.commandprompt.com/