logo       


Re: Something wrong with tablewriter in 2.5.0: msg#00023

Subject: Re: Something wrong with tablewriter in 2.5.0
hi,Jeroen T. Vermeulen

>On Mon, January 23, 2006 10:57, energumen@xxxxxxxxxxx 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
yes,I have used complete() after doing the inserts.I check the source and find 
that
both of complete() and ~tablewrite call the function writer_close().

so i dismiss complete() first, it has the same effect
then i erase the writer_close() in ~tablewriter(). 

Now i get an info:
Closing nontransaction  with p?ransact '?ow' still open

after that no data can be inserted into db again.

so i wonder whether 2.5.5 can work normal or not, but when linking 2.5.5
i got a message 'undefined reference to pqxx::tablewriter::Escape(...)'

but i only find pqxx::internal::Esacpe  in the source code and 
pqxx::internal::Escape call in the code

so are there any problem?

>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
Libpqxx-general-AuKwsB3Fm+ugFIWk8tvyRWD2FQJk+8+b@xxxxxxxxxxxxxxxx
http://gborg.postgresql.org/mailman/listinfo/libpqxx-general
Ruby Jobs
Java Jobs
Jobs in California
more...
what
job title, keywords
where
city, state, zip
jobs by job search
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
encryption.gpg....    ietf.rfc822/199...    freebsd.devel.i...    lang.haskell.li...    mail.squirrelma...    web.zope.plone....    yellowdog.gener...    text.xml.xalan....    recreation.phot...    kde.devel.educa...    hardware.bus.ca...    printing.ghosts...    voip.peering/20...    assembly/2006-0...    org.user-groups...    culture.interne...    network.i2p/200...    boot-loaders.ya...    xfree86.render/...    qnx.openqnx.dev...    jakarta.velocit...    user-groups.pal...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe