Jan Wieck <[EMAIL PROTECTED]> writes:
> Manfred Spraul wrote:
>> What about skipping the delay if there are no outstanding disk 
>> operations?

> How portable is getrusage()? Could the postmaster issue that frequently 
> for RUSAGE_CHILDREN and leave the result somewhere in the shared memory 
> for whoever is concerned?

How would that tell you about currently outstanding operations?

Manfred's idea is interesting but AFAICS completely unimplementable
in any portable fashion.  You'd have to have hooks into the kernel.

                        regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster

Reply via email to