On Mon, January 23, 2006 10:57, [EMAIL PROTECTED] wrote:

> when i use copy command(tablewriter in pqxx),after performing serveral
> copys, my program used to get SIGPIPE signal.

Did you call the tablewriter's complete() function?  One explanation that
springs to mind is that the COPY command may not be properly terminated
for some reason.  If that happens, I could imagine libpq and the backend
finding that the states of their protocol implementation are out of sync,
and one of them closing the socket.  That would give you a SIGPIPE.


Jeroen


_______________________________________________
Libpqxx-general mailing list
[email protected]
http://gborg.postgresql.org/mailman/listinfo/libpqxx-general

Reply via email to