hi:
when i use copy command(tablewriter in pqxx),after performing serveral copys, 
my program used to get SIGPIPE signal.
stack is:
#0  0xffffe002 in ?? ()
#1  0x404f04d3 in pqSendSome () from /usr/local/lib/libpq.so.3
#2  0x404ef968 in pqPutc () from /usr/local/lib/libpq.so.3
#3  0x404efca3 in pqPutnchar () from /usr/local/lib/libpq.so.3
#4  0x404ee9c6 in PQputnbytes () from /usr/local/lib/libpq.so.3
#5  0x0808d104 in pqxx::connection_base::WriteCopyLine(_STL::basic_string<char, 
_STL::char_traits<char>, _STL::allocator<char> > const&) (this=0x81a8560, 
[EMAIL PROTECTED]) at connection_base.cxx:821
#6  0x0808d436 in pqxx::connection_base::EndCopyWrite() (this=0x81a8560) at 
connection_base.cxx:851
#7  0x08095599 in pqxx::tablewriter::writer_close() (this=0x41ae312c) at 
transaction_base.hxx:408
#8  0x080952d8 in ~tablewriter (this=0x41ae312c) at tablewriter.cxx:43
WriterCopyLine shows that connection is broken

then i captured the tcp stream packet between the database and my program
the info is:
[EMAIL PROTECTED]

nothing seems wrong

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

Reply via email to