Ahh. Ok. thanks.. using "wb" for writing out on Windows is so that we don't get Windows' gratuitous addition of carriage returns. I will document that.
Please use the #define PG_BINARY_W from c.h which is defined with the correct letters for all platforms ("wb" on Windows).
That is how Peter's comment was meant.
cheers
andrew
---------------------------(end of broadcast)--------------------------- TIP 7: don't forget to increase your free space map settings