Re: [HACKERS] Explicit Transaction Priority

2005-03-05 Thread Michael Fuhr
On Sat, Mar 05, 2005 at 07:56:16PM +0200, Alex wrote: > I was wondering if it's possible to make postgresql backend to > adjust his priority based by an parameter to begin.. This has come up before -- search the list archives to see past discussion. Here's a message that sums up the arguments ag

[HACKERS] Explicit Transaction Priority

2005-03-05 Thread Alex
Hello..   I was wondering if it's possible to make postgresql backend to adjust his priority based by an parameter to begin..   i.e:  For linux , a "BEGIN -20"  to renice backend priority to -20..   This should be easy (i hope) to implement using setpriority(..) , but there are a few question