Just noticed buffile.c:292 doesn't look quite right where
BufFileDumpBuffer calls FileWrite:
    bytestowrite = FileWrite(thisfile, file->buffer, bytestowrite);
It looks as though it would write the same data each time the
loop is iterated.  Would this be better?
    bytestowrite = FileWrite(thisfile, file->buffer + wpos, bytestowrite);



---------------------------(end of broadcast)---------------------------
TIP 3: Have you checked our extensive FAQ?

              http://www.postgresql.org/docs/faq

Reply via email to