Tom Lane wrote:
>Manfred's idea is interesting but AFAICS completely unimplementable
>in any portable fashion. You'd have to have hooks into the kernel.
>
>
I thought about outstanding operations from postgres - I don't know
enough about the buffer layer if it's possible to keep a counter of the
currently running read() and write() operations, or something similar.
-- Manfred