I've just realized an exception in the sending data while using PQsendCopyData(). Function's blocking behaviour is not guaranteed, therefore a
if (PQisnonblocking()) PQsetnonblocking(conn, 0) kind of phrase required before using PQsendCopyData(). But after a small investigation, found that both psql and pg_dump runs in blocking mode - without any PQsetnonblocking() call. Thus, AFAIC, above phrase isn't necessary. FYI. Just wanted to inform. Any comments are welcome. Regards. ---------------------------(end of broadcast)--------------------------- TIP 5: don't forget to increase your free space map settings