Tom,
> And, unfortunately, you've broken it. The pqFlush call visible in that
> routine is not the only place that may try to send data (see also
> pqPutMsgEnd).
You are right, thanks for pointing that out.
Still, in pqPutMsgEnd we will be sending data only after 8K is reached,
which is about once in 80 for a 100 byte row size...
Alon.