Magnus Hagander <[EMAIL PROTECTED]> writes: > Perhaps we could have the bgwrite check the queue *if* it gets the > ENOENT/EACCESS error and then re-check the queue for drops on that file?
Hmm ... seems a bit ugly, but then again I've not been able to come up with a nice way of making the backends wait for queue drain either; and not having to make them wait at all is certainly attractive. I'll look into doing it like that. Thanks for the idea! regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 6: explain analyze is your friend